This repository has been archived on 2024-01-26. You can view files and clone it, but cannot push or open issues or pull requests.
space_status/raspberry_pi/etc/systemd/system/space_status.service
quanten 5844863e98 add systemd service
(untested, but should work)
2019-12-14 18:08:48 +01:00

12 lines
228 B
Desktop File

[Unit]
Description=Space Status Python Script
Wants=network-online.target
After=network-online.target
[Service]
WorkingDirectory=/home/pi/PathToDoorStatusFolder/
ExecStart=python3 main.py
[Install]
WantedBy=multi-user.target