chiark / gitweb /
systemd service file: Put in upstream part of the source tree
[userv.git] / userv.service
diff --git a/userv.service b/userv.service
new file mode 100644 (file)
index 0000000..63f2781
--- /dev/null
@@ -0,0 +1,12 @@
+[Unit]
+Description=User services (security boundary) daemon
+After=syslog.target remote-fs.target
+
+[Service]
+Type=forking
+ExecStartPre=/bin/sh -c 'test -d /var/run/userv || mkdir -m700 /var/run/userv'
+ExecStart=/usr/sbin/uservd -daemon
+KillMode=process
+
+[Install]
+WantedBy=multi-user.target