summarylogtreecommitdiffstats
path: root/motioneye.service
diff options
context:
space:
mode:
Diffstat (limited to 'motioneye.service')
-rw-r--r--motioneye.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/motioneye.service b/motioneye.service
new file mode 100644
index 000000000000..e785478e0450
--- /dev/null
+++ b/motioneye.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=motionEye server
+After=local-fs.target network.target
+
+[Service]
+User=motion
+ExecStart=/usr/bin/meyectl startserver -c /etc/motioneye/motioneye.conf
+Type=simple
+
+[Install]
+WantedBy=multi-user.target