From: Kern Sibbald Date: Mon, 13 Sep 2010 10:59:33 +0000 (+0200) Subject: Make Ubuntu autostart scripts LSB compliant X-Git-Url: https://git.sur5r.net/?p=bacula%2Fbacula;a=commitdiff_plain;h=50f353d65e5a60eb17b5c30713529db2737e274f Make Ubuntu autostart scripts LSB compliant --- diff --git a/bacula/platforms/ubuntu/bacula-dir.in b/bacula/platforms/ubuntu/bacula-dir.in index c75a57269f..d4bbc404c5 100644 --- a/bacula/platforms/ubuntu/bacula-dir.in +++ b/bacula/platforms/ubuntu/bacula-dir.in @@ -9,6 +9,17 @@ # For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@ # +### BEGIN INIT INFO +# Provides: bacula-dir +# Required-Start: $local_fs $remote_fs $network $time +# Required-Stop: $local_fs $remote_fs $network $time +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Bacula Director +# Description: Bacula is a network backup and restore program +### END INIT INFO + + NAME="bacula-dir" DESC="Bacula Director" DAEMON=@sbindir@/${NAME} diff --git a/bacula/platforms/ubuntu/bacula-fd.in b/bacula/platforms/ubuntu/bacula-fd.in index 87d9bf00d7..17d3d04dbb 100644 --- a/bacula/platforms/ubuntu/bacula-fd.in +++ b/bacula/platforms/ubuntu/bacula-fd.in @@ -9,6 +9,17 @@ # For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@ # +### BEGIN INIT INFO +# Provides: bacula-fd +# Required-Start: $local_fs $remote_fs $network $time +# Required-Stop: $local_fs $remote_fs $network $time +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Bacula File Daemon +# Description: Bacula is a network backup and restore program +### END INIT INFO + + NAME="bacula-fd" DESC="Bacula File Daemon" DAEMON=@sbindir@/${NAME} diff --git a/bacula/platforms/ubuntu/bacula-sd.in b/bacula/platforms/ubuntu/bacula-sd.in index 1ddca02a44..e8c5e6c731 100644 --- a/bacula/platforms/ubuntu/bacula-sd.in +++ b/bacula/platforms/ubuntu/bacula-sd.in @@ -9,6 +9,17 @@ # For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@ # +### BEGIN INIT INFO +# Provides: bacula-sdr +# Required-Start: $local_fs $remote_fs $network $time +# Required-Stop: $local_fs $remote_fs $network $time +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Bacula Storage Daemon +# Description: Bacula is a network backup and restore program +### END INIT INFO + + NAME="bacula-sd" DESC="Bacula Storage Daemon" DAEMON=@sbindir@/${NAME}