summaryrefslogtreecommitdiff
path: root/debian/sane-utils.saned@.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/sane-utils.saned@.service')
-rw-r--r--debian/sane-utils.saned@.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/sane-utils.saned@.service b/debian/sane-utils.saned@.service
new file mode 100644
index 0000000..2ef2d2f
--- /dev/null
+++ b/debian/sane-utils.saned@.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Scanner Service
+Requires=saned.socket
+
+[Service]
+ExecStart=/usr/sbin/saned
+User=saned
+Group=saned
+StandardInput=null
+StandardOutput=append:/var/log/saned.log
+StandardError=append:/var/log/saned.log
+Environment=SANE_CONFIG_DIR=/etc/sane.d
+# Environment=SANE_CONFIG_DIR=/etc/sane.d SANE_DEBUG_DLL=255
+
+[Install]
+Also=saned.socket