summaryrefslogtreecommitdiff
path: root/app-backup/burp/files/burp.initd
diff options
context:
space:
mode:
Diffstat (limited to 'app-backup/burp/files/burp.initd')
-rw-r--r--app-backup/burp/files/burp.initd7
1 files changed, 3 insertions, 4 deletions
diff --git a/app-backup/burp/files/burp.initd b/app-backup/burp/files/burp.initd
index 201af0a97123..a0b0dccacbcc 100644
--- a/app-backup/burp/files/burp.initd
+++ b/app-backup/burp/files/burp.initd
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
BURP_CONFIG="/etc/burp/burp-server.conf"
@@ -9,8 +9,8 @@ description="Burp is a network backup and restore program"
command="/usr/sbin/burp"
command_args="-c '${BURP_CONFIG}' -F"
command_background="yes"
-pidfile="/run/burp-server.pid"
-start_stop_daemon_arg="--make-pidfile --wait 500"
+pidfile="/run/burp.server.pid"
+start_stop_daemon_arg="--wait 500"
extra_started_commands="reload summary"
description_reload="Reloads configuration"
@@ -31,7 +31,6 @@ start_pre() {
checkpath -o root:burp -m 0775 -d /etc/burp
checkpath -o root:burp -m 0640 -f /etc/burp/burp-server.conf
checkpath -o root:burp -m 0750 -d /etc/burp/clientconfdir
- checkpath -o burp:burp -m 0775 -d /run/lock/burp
checkpath -o root:burp -m 0770 -d "$(get_backup_dir)"
}