diff options
author | Chuck Short <zul@gentoo.org> | 2004-02-18 00:43:59 +0000 |
---|---|---|
committer | Chuck Short <zul@gentoo.org> | 2004-02-18 00:43:59 +0000 |
commit | d32925d3662889335a822bd219231a9b7d033046 (patch) | |
tree | 4e65c757be29e463ec66d6a9ca9bc3632fc13594 /net-misc/bopm/files | |
parent | header fix; whitespace fix (Manifest recommit) (diff) | |
download | gentoo-2-d32925d3662889335a822bd219231a9b7d033046.tar.gz gentoo-2-d32925d3662889335a822bd219231a9b7d033046.tar.bz2 gentoo-2-d32925d3662889335a822bd219231a9b7d033046.zip |
Initial version, closes #41376.
Diffstat (limited to 'net-misc/bopm/files')
-rw-r--r-- | net-misc/bopm/files/bopm.conf.d | 7 | ||||
-rw-r--r-- | net-misc/bopm/files/bopm.init.d | 23 | ||||
-rw-r--r-- | net-misc/bopm/files/digest-bopm-3.1.2 | 1 |
3 files changed, 31 insertions, 0 deletions
diff --git a/net-misc/bopm/files/bopm.conf.d b/net-misc/bopm/files/bopm.conf.d new file mode 100644 index 000000000000..ac8dd87d8dc1 --- /dev/null +++ b/net-misc/bopm/files/bopm.conf.d @@ -0,0 +1,7 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/bopm/files/bopm.conf.d,v 1.1 2004/02/18 00:43:59 zul Exp $ + +# Config file for /etc/init.d/bopm + +BOPM_UID=bopm diff --git a/net-misc/bopm/files/bopm.init.d b/net-misc/bopm/files/bopm.init.d new file mode 100644 index 000000000000..54a15c00b7e1 --- /dev/null +++ b/net-misc/bopm/files/bopm.init.d @@ -0,0 +1,23 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-misc/bopm/files/bopm.init.d,v 1.1 2004/02/18 00:43:59 zul Exp $ + +opts="depend start stop" + +depend() { + need net +} + +start() { + ebegin "Starting Blitzed Open Proxy Monitor" + start-stop-daemon --start --quiet --chuid ${BOPM_UID} --exec /usr/bin/bopm + eend $? +} + +stop() { + ebegin "Stopping Blitzed Open Proxy Monitor" + kill $(</var/run/bopm/bopm.pid) + eend $? + rm -f /var/run/bopm/bopm.pid +} diff --git a/net-misc/bopm/files/digest-bopm-3.1.2 b/net-misc/bopm/files/digest-bopm-3.1.2 new file mode 100644 index 000000000000..68596e1d4240 --- /dev/null +++ b/net-misc/bopm/files/digest-bopm-3.1.2 @@ -0,0 +1 @@ +MD5 ab1b7494c4242eef957b5fca61c92b18 bopm-3.1.2.tar.gz 608855 |