You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
428 B

#!/bin/sh
# you can set options in /etc/profile.locale, variable SYSLOGD_OPTS
#
# without options and without /var/log (!), syslogd will simply
# log to the console. If /var/log/ exists, it will log to /var/log/messages
. /etc/init.d/globals
case "$1" in
start)
/sbin/syslogd $SYSLOGD_OPTS
;;
stop)
killall syslogd
;;
restart)
$0 stop
$0 start
;;
*)
echo "[$BASENAME] Usage: $0 {start|restart|stop}"
;;
esac