diff options
-rw-r--r-- | app-backup/bareos/files/bareos-dir-21.initd | 22 | ||||
-rw-r--r-- | app-backup/bareos/files/bareos-fd-21.initd | 21 | ||||
-rw-r--r-- | app-backup/bareos/files/bareos-sd-21.initd | 21 |
3 files changed, 0 insertions, 64 deletions
diff --git a/app-backup/bareos/files/bareos-dir-21.initd b/app-backup/bareos/files/bareos-dir-21.initd deleted file mode 100644 index 916ee13b36ce..000000000000 --- a/app-backup/bareos/files/bareos-dir-21.initd +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need postgresql - use dns bareos-fd bareos-sd -} - -start() { - ebegin "Starting bareos director" - checkpath -d -m 0750 -o root:bareos /run/bareos - start-stop-daemon --start --quiet --exec /usr/sbin/bareos-dir \ - -- -p /run/bareos/bareos-dir.9101.pid ${DIR_OPTIONS} - eend $? -} - -stop() { - ebegin "Stopping bareos director" - start-stop-daemon --stop --quiet --pidfile /run/bareos/bareos-dir.9101.pid - eend $? -} diff --git a/app-backup/bareos/files/bareos-fd-21.initd b/app-backup/bareos/files/bareos-fd-21.initd deleted file mode 100644 index f0632261a0c5..000000000000 --- a/app-backup/bareos/files/bareos-fd-21.initd +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -depend() { - use dns -} - -start() { - ebegin "Starting bareos file daemon" - checkpath -d -m 0750 -o root:bareos /run/bareos - start-stop-daemon --start --quiet --exec /usr/sbin/bareos-fd \ - -- -p /run/bareos/bareos-fd.9102.pid ${FD_OPTIONS} - eend $? -} - -stop() { - ebegin "Stopping bareos file daemon" - start-stop-daemon --stop --quiet --pidfile /run/bareos/bareos-fd.9102.pid - eend $? -} diff --git a/app-backup/bareos/files/bareos-sd-21.initd b/app-backup/bareos/files/bareos-sd-21.initd deleted file mode 100644 index 07091dbd74c5..000000000000 --- a/app-backup/bareos/files/bareos-sd-21.initd +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -depend() { - use dns -} - -start() { - ebegin "Starting bareos storage daemon" - checkpath -d -m 0750 -o root:bareos /run/bareos - start-stop-daemon --start --quiet --exec /usr/sbin/bareos-sd \ - -- -p /run/bareos/bareos-sd.9103.pid ${SD_OPTIONS} - eend $? -} - -stop() { - ebegin "Stopping bareos storage daemon" - start-stop-daemon --stop --quiet --pidfile /run/bareos/bareos-sd.9103.pid - eend $? -} |