From 5e66b9e11405928ef009acbadcaf380ac46f1fa1 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 17 Dec 2009 11:43:57 +0100 Subject: [PATCH] LSBize Debian init scripts --- bacula/platforms/debian/bacula-dir.in | 12 +++++++++++- bacula/platforms/debian/bacula-fd.in | 12 +++++++++++- bacula/platforms/debian/bacula-sd.in | 12 +++++++++++- 3 files changed, 33 insertions(+), 3 deletions(-) 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@ -- 2.39.5