From 5dabad3f1727f9f936410c6b125b7299ce5fa785 Mon Sep 17 00:00:00 2001 From: daemox Date: Tue, 7 Feb 2012 16:46:18 -0800 Subject: [PATCH] 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. --- init/ubuntu | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/init/ubuntu b/init/ubuntu index 8949682..ea6ad09 100644 --- a/init/ubuntu +++ b/init/ubuntu @@ -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