summaryrefslogtreecommitdiff
path: root/app-backup/bareos/files/bareos-sd.initd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-17 17:37:38 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-17 17:37:38 +0000
commit95580151e6cfe563d6c0550936c7fd92e24a6acf (patch)
treed6303b8b93da47cdce9e5f980e29b1f0d4fd83be /app-backup/bareos/files/bareos-sd.initd
parentf8deb4f754798d63fb6b82178452ee846df8475f (diff)
gentoo auto-resync : 17:02:2024 - 17:37:38
Diffstat (limited to 'app-backup/bareos/files/bareos-sd.initd')
-rw-r--r--app-backup/bareos/files/bareos-sd.initd24
1 files changed, 0 insertions, 24 deletions
diff --git a/app-backup/bareos/files/bareos-sd.initd b/app-backup/bareos/files/bareos-sd.initd
deleted file mode 100644
index a4a45343d137..000000000000
--- a/app-backup/bareos/files/bareos-sd.initd
+++ /dev/null
@@ -1,24 +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_pre() {
- checkpath --directory --owner root:bareos --mode 01775 /run/bareos
- if [[ -e /run/bareos/bareos-sd.9103.pid && $(stat -c %U /run/bareos/bareos-sd.9103.pid) != "root" ]]; then
- eerror "SECURITY ALERT: bareos owned pidfile found! (see #631598)"
- exit 1
- fi
-}
-
-start_post() {
- ewaitfile 10 /run/bareos/bareos-sd.9103.pid
- checkpath --file --owner root:bareos /run/bareos/bareos-sd.9103.pid
-}
-
-command="/usr/sbin/bareos-sd"
-command_args="${SD_OPTIONS}"
-pidfile="/run/bareos/bareos-sd.9103.pid"