From dc724b4abb1379ae105069c489f0bf3dcbe882cb Mon Sep 17 00:00:00 2001 From: Ralf Ramsauer Date: Fri, 23 Mar 2018 22:15:26 +0000 Subject: [PATCH] doorlockd.py: add systemd service file Signed-off-by: Ralf Ramsauer --- doorlockd-new/doorlockd.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doorlockd-new/doorlockd.service diff --git a/doorlockd-new/doorlockd.service b/doorlockd-new/doorlockd.service new file mode 100644 index 0000000..766a97d --- /dev/null +++ b/doorlockd-new/doorlockd.service @@ -0,0 +1,12 @@ +[Unit] +Description=Binary Kitchen doorlockd service +After=network.target + +[Service] +User=root +Group=root +ExecStart=/home/doorlock/doorlockd/doorlockd.py + +[Install] +WantedBy=multi-user.target +