diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-06-02 17:18:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-06-02 17:18:14 +0100 |
commit | 7b9f15840068dfaeea5684f8a1af1fe460dfa14c (patch) | |
tree | 112eea4497761c0227537330b58f9c7e0af3f9d8 /app-backup/burp/files/burp2.initd | |
parent | 0bff53119f08d677db6c1a991bd30741682a8a08 (diff) |
gentoo resync : 02.06.2018
Diffstat (limited to 'app-backup/burp/files/burp2.initd')
-rw-r--r-- | app-backup/burp/files/burp2.initd | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/app-backup/burp/files/burp2.initd b/app-backup/burp/files/burp2.initd deleted file mode 100644 index 02a7ea856c42..000000000000 --- a/app-backup/burp/files/burp2.initd +++ /dev/null @@ -1,45 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -BURP_CONFIG="/etc/burp/burp-server.conf" - -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/burp.server.pid" -start_stop_daemon_arg="--wait 500" - -extra_started_commands="reload summary" -description_reload="Reloads configuration" -description_summary="Displays main status monitor summary" - -get_backup_dir() { - grep '^directory = ' "${BURP_CONFIG}" \ - | sed -e 's/^directory = //' -} - -depend() { - need localmount - after bootmisc - use net -} - -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 root:burp -m 0770 -d "$(get_backup_dir)" -} - -reload() { - ebegin "Reloading ${SVCNAME} configuration" - start-stop-daemon --exec ${command} --signal HUP - eend $? -} - -summary() { - "${command}" -c "${BURP_CONFIG}" -a S -} |