summaryrefslogtreecommitdiff
path: root/debian/sane-utils.saned@.service
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-08-03 18:17:42 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-08-03 18:17:42 +0200
commita727d875a61e8556d41ee424fe65818736bf7d10 (patch)
treecaa130e3f4ac6dfcd81daccea81f649b5f95ffbf /debian/sane-utils.saned@.service
parenta493df1c7d5ff6c537363f35689cb2f2a0d81f4e (diff)
Replace manual install of systemd files with install via dh_installsystemd
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..425ee7a
--- /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=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