summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-05-14 01:30:53 +0100
committerSam James <sam@gentoo.org>2021-05-14 01:35:47 +0100
commite1324cc309fc3ce57c34c41d9570cafd485f3cc9 (patch)
tree64d480ff28488d26cf13ff8b62f6abe520e0156b /app-admin/logsurfer+/files
parentapp-admin/tenshi: drop 0.17 (diff)
downloadgentoo-e1324cc309fc3ce57c34c41d9570cafd485f3cc9.tar.gz
gentoo-e1324cc309fc3ce57c34c41d9570cafd485f3cc9.tar.bz2
gentoo-e1324cc309fc3ce57c34c41d9570cafd485f3cc9.zip
app-admin/logsurfer+: drop 1.8-r3
Closes: https://bugs.gentoo.org/790050 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/logsurfer+/files')
-rw-r--r--app-admin/logsurfer+/files/logsurfer-1.8.initd50
1 files changed, 0 insertions, 50 deletions
diff --git a/app-admin/logsurfer+/files/logsurfer-1.8.initd b/app-admin/logsurfer+/files/logsurfer-1.8.initd
deleted file mode 100644
index 9ef420cfad30..000000000000
--- a/app-admin/logsurfer+/files/logsurfer-1.8.initd
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-pidfile="/var/run/logsurfer.pid"
-command="/usr/bin/logsurfer"
-command_args="-D -p ${pidfile} ${LOGSURFER_OPTS}"
-extra_started_commands="reload dump"
-
-conffile="/etc/logsurfer.conf"
-
-depend() {
- use logger
-}
-
-checkconfig() {
- if [ ! -f /etc/logsurfer.conf ] ; then
- eerror "Please create /etc/logsurfer.conf"
- return 1
- fi
- return 0
-}
-
-start_pre() {
- checkconfig || return $?
-
- checkpath --file --owner logsurfer --mode 0644 "${pidfile}"
-}
-
-start() {
- ebegin "Starting ${SVCNAME}"
- start-stop-daemon \
- --start \
- --user logsurfer \
- --exec ${command} \
- -- ${command_args}
- eend $? "Failed to start ${SVCNAME}"
-}
-
-reload() {
- ebegin "Reloading ${SVCNAME}"
- start-stop-daemon --signal HUP --pidfile "${pidfile}"
- eend $? "Failed to reload ${SVCNAME}"
-}
-
-dump() {
- ebegin "Dumping ${SVCNAME} internal state"
- start-stop-daemon --signal USR1 --pidfile "${pidfile}"
- eend $? "Failed to dump ${SVCNAME} internal state"
-}