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 @@ | |||
1 | #!/sbin/runscript | ||
2 | # Copyright 1999-2005 Gentoo Foundation | ||
3 | # Distributed under the terms of the GNU General Public License v2 | ||
4 | # $Header: /var/cvsroot/gentoo-x86/www-misc/pglogd/files/pglogd.init,v 1.1 2005/05/10 05:07:57 nakano Exp $ | ||
5 | |||
6 | depend() { | ||
7 | before apache apache2 | ||
8 | } | ||
9 | |||
10 | start() { | ||
11 | ebegin "Starting pglogd" | ||
12 | start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/pglogd.pid --exec /usr/sbin/pglogd -- -c /etc/pglogd.conf | ||
13 | eend $? | ||
14 | } | ||
15 | |||
16 | stop() { | ||
17 | ebegin "Stopping pglogd" | ||
18 | start-stop-daemon --stop --quiet --pidfile /var/run/pglogd.pid | ||
19 | eend $? | ||
20 | } | ||