Commit 2e857bb69dfa5c5ac646076bcb58d65fe850e6c2

Authored by Antonio Terceiro
1 parent 93103d85

Declare initscript dependency on postgresql

This will make the noosfero initscript start after the postgresql one,
and stop before it, when Debian is using dependency-based initialization

ActionItem2372
Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
etc/init.d/noosfero
@@ -3,6 +3,8 @@ @@ -3,6 +3,8 @@
3 # Provides: noosfero 3 # Provides: noosfero
4 # Required-Start: $remote_fs 4 # Required-Start: $remote_fs
5 # Required-Stop: $remote_fs 5 # Required-Stop: $remote_fs
  6 +# Should-Start: postgresql
  7 +# Should-Stop: postgresql
6 # Default-Start: 2 3 4 5 8 # Default-Start: 2 3 4 5
7 # Default-Stop: 0 1 6 9 # Default-Stop: 0 1 6
8 # Short-Description: Example initscript 10 # Short-Description: Example initscript