summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2017-12-20 12:57:38 +0100
committerMarek Szuba <marecki@gentoo.org>2017-12-20 13:49:07 +0100
commit7dc0fb3aff1255a725286e0aafc73cf9f3b27bbd (patch)
treea7ab4d4c7fde4b47585d79473f031c3f365fc8fd /app-backup/burp/files/burp.initd
parentx11-plugins/enigmail: x86 stable (bug #641764) (diff)
downloadgentoo-7dc0fb3aff1255a725286e0aafc73cf9f3b27bbd.tar.gz
gentoo-7dc0fb3aff1255a725286e0aafc73cf9f3b27bbd.tar.bz2
gentoo-7dc0fb3aff1255a725286e0aafc73cf9f3b27bbd.zip
app-backup/burp: remove old
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'app-backup/burp/files/burp.initd')
-rw-r--r--app-backup/burp/files/burp.initd46
1 files changed, 0 insertions, 46 deletions
diff --git a/app-backup/burp/files/burp.initd b/app-backup/burp/files/burp.initd
deleted file mode 100644
index 201af0a9712..00000000000
--- a/app-backup/burp/files/burp.initd
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 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-server.pid"
-start_stop_daemon_arg="--make-pidfile --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 burp:burp -m 0775 -d /run/lock/burp
- 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
-}