diff options
author | Alastair Tse <liquidx@gentoo.org> | 2003-02-28 21:12:25 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2003-02-28 21:12:25 +0000 |
commit | dfabb4f80ba5ffeaffdcb70f718d49cc5c28d5e4 (patch) | |
tree | 60f6d5d1b78fb329936905797054610b316f3272 /app-admin/ulogd/files | |
parent | deprecated (diff) | |
download | historical-dfabb4f80ba5ffeaffdcb70f718d49cc5c28d5e4.tar.gz historical-dfabb4f80ba5ffeaffdcb70f718d49cc5c28d5e4.tar.bz2 historical-dfabb4f80ba5ffeaffdcb70f718d49cc5c28d5e4.zip |
version bump
Diffstat (limited to 'app-admin/ulogd/files')
-rw-r--r-- | app-admin/ulogd/files/digest-ulogd-0.98 | 1 | ||||
-rw-r--r-- | app-admin/ulogd/files/ulogd-0.98 | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/app-admin/ulogd/files/digest-ulogd-0.98 b/app-admin/ulogd/files/digest-ulogd-0.98 new file mode 100644 index 000000000000..e8709f4c1723 --- /dev/null +++ b/app-admin/ulogd/files/digest-ulogd-0.98 @@ -0,0 +1 @@ +MD5 18c6db19de538c57a70b9cfbdb079781 ulogd-0.98.tar.gz 104373 diff --git a/app-admin/ulogd/files/ulogd-0.98 b/app-admin/ulogd/files/ulogd-0.98 new file mode 100644 index 000000000000..010829371852 --- /dev/null +++ b/app-admin/ulogd/files/ulogd-0.98 @@ -0,0 +1,47 @@ +#!/sbin/runscript +# +# chkconfig: - 91 35 +# description: Starts and stops the ulogd daemon +# +# pidfile: /var/lock/samba/ulogd.pid +# config: /usr/local/etc/ulogd.conf + + +#opts="start stop restart status" + +depend() { + need net +} + +initService() { +# Avoid using root's TMPDIR +unset TMPDIR + +# Check that ulogd.conf exists. +[ -f /etc/ulogd.conf ] || exit 0 + +RETVAL=0 +} + +start() { + initService + ebegin "Starting ulogd" + start-stop-daemon --start --quiet --exec /usr/sbin/ulogd -- -d >/dev/null 2>&1 + eend $? +} + +stop() { + initService + ebegin "Stopping ulogd" + start-stop-daemon --stop --quiet --exec /usr/sbin/ulogd >/dev/null 2>&1 + eend $? +} + +reload() { + initService + ebegin "Reloading ulogd.conf file" + killproc ulogd -HUP + RETVAL=$? + echo + return $RETVAL +} |