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