summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-05-03 14:14:58 -0500
committerAustin English <wizardedit@gentoo.org>2016-05-03 14:17:01 -0500
commit20317feb5adc8f6710bbf3798c35874e2b6cacad (patch)
treefe27a7b3d0fcb5d6dd20003216e62310d7adda78 /net-proxy/ziproxy/files
parentnet-proxy/wwwoffle: remove old version (diff)
downloadgentoo-20317feb5adc8f6710bbf3798c35874e2b6cacad.tar.gz
gentoo-20317feb5adc8f6710bbf3798c35874e2b6cacad.tar.bz2
gentoo-20317feb5adc8f6710bbf3798c35874e2b6cacad.zip
net-proxy/ziproxy: use #!/sbin/openrc-run instead of #!/sbin/runscript
Gentoo-Bug: https://bugs.gentoo.org/573846 Package-Manager: portage-2.2.26
Diffstat (limited to 'net-proxy/ziproxy/files')
-rw-r--r--net-proxy/ziproxy/files/ziproxy.initd26
-rw-r--r--net-proxy/ziproxy/files/ziproxy.initd-r14
2 files changed, 2 insertions, 28 deletions
diff --git a/net-proxy/ziproxy/files/ziproxy.initd b/net-proxy/ziproxy/files/ziproxy.initd
deleted file mode 100644
index 6b0cb89bce32..000000000000
--- a/net-proxy/ziproxy/files/ziproxy.initd
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- need net
-}
-
-start() {
- local OPT="-d"
- ebegin "Starting ${SVCNAME}"
-
- [ -n "${CONFIG}" ] && OPT="${OPT} -c ${CONFIG}"
- [ -n "${ONLYFROM}" ] && OPT="${OPT} -f ${ONLYFROM}"
-
- start-stop-daemon --start --pidfile /var/run/${SVCNAME}.pid \
- --chuid ziproxy:ziproxy --exec /usr/sbin/ziproxy -- ${OPT} > /var/run/${SVCNAME}.pid
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${SVCNAME}"
- start-stop-daemon --stop --quiet --pidfile /var/run/${SVCNAME}.pid
- eend $?
-}
diff --git a/net-proxy/ziproxy/files/ziproxy.initd-r1 b/net-proxy/ziproxy/files/ziproxy.initd-r1
index dae95513ea70..f552307586fa 100644
--- a/net-proxy/ziproxy/files/ziproxy.initd-r1
+++ b/net-proxy/ziproxy/files/ziproxy.initd-r1
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2015 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$