diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-22 04:12:22 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-22 04:12:22 -0500 |
commit | cf52e9dae453c12b464b77209f060fe9567067fd (patch) | |
tree | 5681828bc32bdcebdea33eabef606fc65bccecf5 /user/sane/saned.initd | |
parent | 53c618caf21b41cb67739e74a82cf72048aa848e (diff) | |
download | packages-cf52e9dae453c12b464b77209f060fe9567067fd.tar.gz packages-cf52e9dae453c12b464b77209f060fe9567067fd.tar.bz2 packages-cf52e9dae453c12b464b77209f060fe9567067fd.tar.xz packages-cf52e9dae453c12b464b77209f060fe9567067fd.zip |
user/sane: somewhat fix Alpine package. still [ugh] though
Diffstat (limited to 'user/sane/saned.initd')
-rw-r--r-- | user/sane/saned.initd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/user/sane/saned.initd b/user/sane/saned.initd new file mode 100644 index 000000000..6482073ef --- /dev/null +++ b/user/sane/saned.initd @@ -0,0 +1,14 @@ +#!/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%/*} +} |