diff options
author | xengineering <mail2xengineering@protonmail.com> | 2020-09-17 12:02:22 +0200 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2020-09-17 12:58:41 +0200 |
commit | 70ae67877828bc17352dd8ae0f6fe02643ba990e (patch) | |
tree | dc1984997ebf691fbbac1c5b57c76e27582c6c9d /picontrol.service | |
parent | fbc00d7932a717a227389040a96443e61b597d7c (diff) | |
download | picontrol-70ae67877828bc17352dd8ae0f6fe02643ba990e.tar picontrol-70ae67877828bc17352dd8ae0f6fe02643ba990e.tar.zst picontrol-70ae67877828bc17352dd8ae0f6fe02643ba990e.zip |
Implement Installation with Make
Diffstat (limited to 'picontrol.service')
-rw-r--r-- | picontrol.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/picontrol.service b/picontrol.service new file mode 100644 index 0000000..37641cc --- /dev/null +++ b/picontrol.service @@ -0,0 +1,13 @@ + +[Unit] +Description=Web Server to shutdown and poweroff the Pi using python-waitress +After=network.target + +[Service] +User=picontrol +Group=picontrol +WorkingDirectory=/usr/share/eu.xengineering.picontrol/ +ExecStart=/usr/bin/python3 /usr/share/eu.xengineering.picontrol/main.py + +[Install] +WantedBy=multi-user.target |