author | Michael Krelin <hacker@klever.net> | 2007-02-21 00:35:18 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-02-21 00:35:18 (UTC) |
commit | 5f6b68f1d187afe568c4af760f8c6c22dabfb036 (patch) (side-by-side diff) | |
tree | 9c176002ab4cea34390fc7bf0d31e17fcccbfe41 /www-misc/pglogd/files/pglogd.init | |
parent | dbab03af46353cb4067704e6107e10980730f70b (diff) | |
download | asylum-5f6b68f1d187afe568c4af760f8c6c22dabfb036.zip asylum-5f6b68f1d187afe568c4af760f8c6c22dabfb036.tar.gz asylum-5f6b68f1d187afe568c4af760f8c6c22dabfb036.tar.bz2 |
www-misc/pglogd
Diffstat (limited to 'www-misc/pglogd/files/pglogd.init') (more/less context) (ignore whitespace changes)
-rw-r--r-- | www-misc/pglogd/files/pglogd.init | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www-misc/pglogd/files/pglogd.init b/www-misc/pglogd/files/pglogd.init new file mode 100644 index 0000000..ce7108f --- a/dev/null +++ b/www-misc/pglogd/files/pglogd.init @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-misc/pglogd/files/pglogd.init,v 1.1 2005/05/10 05:07:57 nakano Exp $ + +depend() { + before apache apache2 +} + +start() { + ebegin "Starting pglogd" + start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/pglogd.pid --exec /usr/sbin/pglogd -- -c /etc/pglogd.conf + eend $? +} + +stop() { + ebegin "Stopping pglogd" + start-stop-daemon --stop --quiet --pidfile /var/run/pglogd.pid + eend $? +} |