1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/community/sane/sane-saned.initd
Rasmus Thomsen 815d460448 community/sane: move from testing
It's required for simple-scanner. Modernize the APKBUILD while I'm at it.
2019-06-05 17:48:01 +00:00

14 lines
269 B
Text

#!/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%/*}
}