openrc/init.d.BSD/newsyslog
2008-01-11 11:45:59 +00:00

16 lines
239 B
Plaintext

#!/sbin/runscript
# Copyright 2007-2008 Roy Marples
# All rights reserved
required_files="/etc/newsyslog.conf"
depend() {
need localmount
}
start() {
ebegin "Creating and/or trimming log files"
newsyslog ${newsyslog_args}
eend $?
}