summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2016-11-10 17:07:30 +0100
committerThomas Beierlein <tomjbe@gentoo.org>2016-11-10 17:09:27 +0100
commitf79af3a8dfe70349538db0ba0b1c755cdc58f57b (patch)
tree8202ec8408db2336fcfc7ddcfc8a5cc9fa86dd78 /app-backup/bacula/files
parentwww-servers/tomcat: version bump for version 8.5.x and slot 9 (diff)
downloadgentoo-f79af3a8dfe70349538db0ba0b1c755cdc58f57b.tar.gz
gentoo-f79af3a8dfe70349538db0ba0b1c755cdc58f57b.tar.bz2
gentoo-f79af3a8dfe70349538db0ba0b1c755cdc58f57b.zip
app-backup/bacula: Update init.d service scripts bug #595044
and fix slot operator for dev-db/postgresql bug #597666 Package-Manager: portage-2.3.2
Diffstat (limited to 'app-backup/bacula/files')
-rwxr-xr-xapp-backup/bacula/files/newscripts/bacula-dir.initd16
-rwxr-xr-xapp-backup/bacula/files/newscripts/bacula-fd.initd13
-rwxr-xr-xapp-backup/bacula/files/newscripts/bacula-sd.initd12
3 files changed, 41 insertions, 0 deletions
diff --git a/app-backup/bacula/files/newscripts/bacula-dir.initd b/app-backup/bacula/files/newscripts/bacula-dir.initd
new file mode 100755
index 000000000000..5923be464882
--- /dev/null
+++ b/app-backup/bacula/files/newscripts/bacula-dir.initd
@@ -0,0 +1,16 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+command=/usr/sbin/bacula-dir
+command_args="${DIR_OPTIONS}"
+pidfile=/var/run/bacula-dir.9101.pid
+
+depend() {
+ need net
+ if [ "${LOCAL_DB}" -eq 1 ]; then
+ :
+ fi
+ use dns bacula-fd bacula-sd
+}
+
diff --git a/app-backup/bacula/files/newscripts/bacula-fd.initd b/app-backup/bacula/files/newscripts/bacula-fd.initd
new file mode 100755
index 000000000000..d8065b232d06
--- /dev/null
+++ b/app-backup/bacula/files/newscripts/bacula-fd.initd
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+command=/usr/sbin/bacula-fd
+command_args="${FD_OPTIONS}"
+pidfile=/var/run/bacula-fd.9102.pid
+
+depend() {
+ need net
+ use dns
+}
diff --git a/app-backup/bacula/files/newscripts/bacula-sd.initd b/app-backup/bacula/files/newscripts/bacula-sd.initd
new file mode 100755
index 000000000000..df39e8b9dab4
--- /dev/null
+++ b/app-backup/bacula/files/newscripts/bacula-sd.initd
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+command=/usr/sbin/bacula-sd
+command_args="${SD_OPTIONS}"
+pidfile=/var/run/bacula-sd.9103.pid
+
+depend() {
+ need net
+ use dns
+}