summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2005-06-24 13:52:18 +0000
committerAlastair Tse <liquidx@gentoo.org>2005-06-24 13:52:18 +0000
commitd30ea2adc426150c1e1d76c1c41d486160cbabe2 (patch)
tree00f399f78fed2693a09e3d591c602618a6d5f2ca /app-admin/ulog-acctd/files
parentmake more respectful of CFLAGS (#79072). thanks Stefan Briesenick (diff)
downloadgentoo-2-d30ea2adc426150c1e1d76c1c41d486160cbabe2.tar.gz
gentoo-2-d30ea2adc426150c1e1d76c1c41d486160cbabe2.tar.bz2
gentoo-2-d30ea2adc426150c1e1d76c1c41d486160cbabe2.zip
added init script. thanks to Radek Podgorny (#79034)
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'app-admin/ulog-acctd/files')
-rw-r--r--app-admin/ulog-acctd/files/init.d/ulog-acctd25
1 files changed, 25 insertions, 0 deletions
diff --git a/app-admin/ulog-acctd/files/init.d/ulog-acctd b/app-admin/ulog-acctd/files/init.d/ulog-acctd
new file mode 100644
index 000000000000..c752897ed189
--- /dev/null
+++ b/app-admin/ulog-acctd/files/init.d/ulog-acctd
@@ -0,0 +1,25 @@
+#!/sbin/runscript
+#
+# chkconfig: - 91 35
+# description: Starts and stops the ulog-acctd daemon
+
+# We should add "pause" and "resume" actions - Radek Podgorny
+#opts="${opts} pause resume"
+
+
+depend() {
+ need net
+}
+
+
+start() {
+ ebegin "Starting ulog-acctd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/ulog-acctd >/dev/null 2>&1
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ulog-acctdd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/ulog-acctd >/dev/null 2>&1
+ eend $?
+}