summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-10-03 14:43:39 +0000
committerRoy Marples <uberlord@gentoo.org>2006-10-03 14:43:39 +0000
commit03f792d109da49330991191cb303352e390939a8 (patch)
tree6425601457793611a58a4a7ca6e2af4e7f486b41 /sys-freebsd/freebsd-usbin/files/syslogd.initd
parentRemove unneeded patch. (diff)
downloadgentoo-2-03f792d109da49330991191cb303352e390939a8.tar.gz
gentoo-2-03f792d109da49330991191cb303352e390939a8.tar.bz2
gentoo-2-03f792d109da49330991191cb303352e390939a8.zip
Tarted up the init scripts.
(Portage version: 2.1.2_pre2-r2)
Diffstat (limited to 'sys-freebsd/freebsd-usbin/files/syslogd.initd')
-rwxr-xr-xsys-freebsd/freebsd-usbin/files/syslogd.initd17
1 files changed, 9 insertions, 8 deletions
diff --git a/sys-freebsd/freebsd-usbin/files/syslogd.initd b/sys-freebsd/freebsd-usbin/files/syslogd.initd
index fd0b2f6c1373..b0eb291e40b3 100755
--- a/sys-freebsd/freebsd-usbin/files/syslogd.initd
+++ b/sys-freebsd/freebsd-usbin/files/syslogd.initd
@@ -1,23 +1,24 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/files/syslogd.initd,v 1.1 2006/04/01 16:43:51 flameeyes Exp $
-
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/files/syslogd.initd,v 1.2 2006/10/03 14:43:39 uberlord Exp $
depend() {
- need localmount
+ provide logger
+ need localmount
}
start() {
- ebegin "Starting syslogd"
- start-stop-daemon --start --quiet --exec /usr/sbin/syslogd
- eend $? "Failed to start syslogd"
+ ebegin $"Starting System Logger"
+ start-stop-daemon --start --quiet --exec /usr/sbin/syslogd \
+ -- ${SYSLOGD_OPTS}
+ eend $?
}
stop() {
- ebegin "Stopping syslogd"
+ ebegin $"Stopping System Logger"
start-stop-daemon --stop --quiet --pidfile /var/run/syslog.pid
- eend $? "Failed to stop syslogd"
+ eend $?
}