From 706714072a2c00fbd8de865c63bf86c80f2e97f0 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 10 Jun 2021 14:12:42 +0200 Subject: Add Systemd Files --- systemd/birdscan.service | 13 +++++++++++++ systemd/birdscan.sysusers | 1 + 2 files changed, 14 insertions(+) create mode 100644 systemd/birdscan.service create mode 100644 systemd/birdscan.sysusers (limited to 'systemd') 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 -- cgit v1.2.3-70-g09d2