Provides: acts as a name that other scripts can call (simplified).

Required-Start/Stop: $all means it should start last. Having this in multiple scripts (Sick Beard, Couch Potato, etc) can cause a loop. Changed this to match JCFP's SABnzbd+ start-up script.
Should-Start/Stop: Changed this to match JCFP's SABnzbd+ start-up script.
This commit is contained in:
daemox
2012-02-07 16:46:18 -08:00
parent b7d5f167bb
commit 5dabad3f17

View File

@@ -1,9 +1,11 @@
#! /bin/sh
### BEGIN INIT INFO
# Provides: CouchPotato application instance
# Required-Start: $all
# Required-Stop: $all
# Provides: couchpotato
# Required-Start: $local_fs $network $remote_fs
# Required-Stop: $local_fs $network $remote_fs
# Should-Start: $NetworkManager
# Should-Stop: $NetworkManager
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts instance of CouchPotato