ayaports/user/sane/saned.initd

15 lines
269 B
Text
Raw Permalink Normal View History

2023-07-08 01:28:53 +00:00
#!/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%/*}
}