From: Eric Bollengier Date: Thu, 17 Dec 2009 10:43:57 +0000 (+0100) Subject: LSBize Debian init scripts X-Git-Tag: Release-7.0.0~2450^2~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a5edaedac69c1e7ccfbc56f655d9d283fbb6f3e7;p=bacula%2Fbacula LSBize Debian init scripts --- diff --git a/bacula/platforms/debian/bacula-dir.in b/bacula/platforms/debian/bacula-dir.in index 19a342ddef..c784e25a69 100644 --- a/bacula/platforms/debian/bacula-dir.in +++ b/bacula/platforms/debian/bacula-dir.in @@ -8,9 +8,19 @@ # # For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@ # +### BEGIN INIT INFO +# Provides: bacula-dir +# Required-Start: $network +# Required-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start $BACULA Director daemon at boot time +# Description: Enable $BACULA Director. +### END INIT INFO +# NAME="bacula-dir" -DESC="Bacula Director" +DESC="$Bacula Director" DAEMON=@sbindir@/${NAME} BUSER=@dir_user@ BGROUP=@dir_group@ diff --git a/bacula/platforms/debian/bacula-fd.in b/bacula/platforms/debian/bacula-fd.in index a0bc014538..9b9832aac0 100644 --- a/bacula/platforms/debian/bacula-fd.in +++ b/bacula/platforms/debian/bacula-fd.in @@ -8,9 +8,19 @@ # # For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@ # +### BEGIN INIT INFO +# Provides: bacula-fd +# Required-Start: $network +# Required-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start $BACULA Client daemon at boot time +# Description: Enable $BACULA Client. +### END INIT INFO + NAME="bacula-fd" -DESC="Bacula File Daemon" +DESC="$Bacula File Daemon" DAEMON=@sbindir@/${NAME} BUSER=@fd_user@ BGROUP=@fd_group@ diff --git a/bacula/platforms/debian/bacula-sd.in b/bacula/platforms/debian/bacula-sd.in index 6b68ce1219..146fdeb897 100644 --- a/bacula/platforms/debian/bacula-sd.in +++ b/bacula/platforms/debian/bacula-sd.in @@ -8,9 +8,19 @@ # # For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@ # +### BEGIN INIT INFO +# Provides: bacula-sd +# Required-Start: $network +# Required-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start $BACULA Storage daemon at boot time +# Description: Enable $BACULA Storage daemon. +### END INIT INFO + NAME="bacula-sd" -DESC="Bacula Storage Daemon" +DESC="$Bacula Storage Daemon" DAEMON=@sbindir@/${NAME} BUSER=@sd_user@ BGROUP=@sd_group@