This repository has been archived on 2023-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
kdoorpi/kdoorpi.service

16 lines
291 B
SYSTEMD
Raw Permalink Normal View History

2020-11-05 19:31:18 +00:00
# /etc/systemd/system/kdoorpi.service
[Unit]
Description=Kdoorpi service
Requires=pigpiod.service
After=pigpiod.service
[Service]
Environment=PYTHONUNBUFFERED=1
ExecStart=/home/pi/kdoorpi/run.sh
WorkingDirectory=/home/pi/kdoorpi
User=pi
Restart=always
[Install]
WantedBy=multi-user.target