summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2021-06-10 14:12:42 +0200
committerxengineering <mail2xengineering@protonmail.com>2021-06-10 14:12:42 +0200
commit706714072a2c00fbd8de865c63bf86c80f2e97f0 (patch)
tree3f28689e9cd15d46de9b3ab70e180adbc69882ad /systemd
parentcce4dd8af1ceec9ad9c1097ee584af87e4033a2a (diff)
downloadbirdscan-706714072a2c00fbd8de865c63bf86c80f2e97f0.tar
birdscan-706714072a2c00fbd8de865c63bf86c80f2e97f0.tar.zst
birdscan-706714072a2c00fbd8de865c63bf86c80f2e97f0.zip
Add Systemd Files
Diffstat (limited to 'systemd')
-rw-r--r--systemd/birdscan.service13
-rw-r--r--systemd/birdscan.sysusers1
2 files changed, 14 insertions, 0 deletions
diff --git a/systemd/birdscan.service b/systemd/birdscan.service
new file mode 100644
index 0000000..aa9f319
--- /dev/null
+++ b/systemd/birdscan.service
@@ -0,0 +1,13 @@
+
+[Unit]
+Description=A software to take nice pictures of birds with a Raspberry Pi Camera
+After=network.target
+
+[Service]
+User=birdscan
+Group=birdscan
+ExecStart=/usr/bin/birdscan
+
+[Install]
+WantedBy=multi-user.target
+
diff --git a/systemd/birdscan.sysusers b/systemd/birdscan.sysusers
new file mode 100644
index 0000000..c84ccd2
--- /dev/null
+++ b/systemd/birdscan.sysusers
@@ -0,0 +1 @@
+u birdscan - "birdscan daemon user" - /bin/bash