aports/testing/sane/sane-saned.initd
2016-12-23 10:38:38 +01:00

15 lines
269 B
Plaintext

#!/sbin/openrc-run
description="SANE network scanner server"
owner=saned
pidfile=/run/saned/saned.pid
cfgfile=/etc/sane.d/saned.conf
command=/usr/sbin/saned
command_args="-a $owner"
required_files="$cfgfile"
start_pre() {
checkpath -dm755 -o $owner ${pidfile%/*}
}