summarylogtreecommitdiffstats
path: root/motion.service
diff options
context:
space:
mode:
Diffstat (limited to 'motion.service')
-rw-r--r--motion.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/motion.service b/motion.service
new file mode 100644
index 000000000000..943585b23704
--- /dev/null
+++ b/motion.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Motion daemon
+After=local-fs.target network.target
+
+[Service]
+User=motion
+ExecStart=/usr/bin/motion -n
+Type=simple
+StandardError=null
+
+[Install]
+WantedBy=multi-user.target