luniebox/contrib/service/luniebox-daemon.service

14 lines
325 B
SYSTEMD
Raw Permalink Normal View History

2022-02-06 10:19:03 +01:00
[Unit]
Description=Luniebox Daemon
[Service]
User=pi
Group=pi
2022-02-06 10:19:03 +01:00
WorkingDirectory=/home/pi/luniebox/application
ExecStart=/home/pi/luniebox/application/venv/bin/python daemon.py
Restart=on-failure
RestartSec=15
#FailureAction=/home/pi/luniebox/application/venv/bin/python daemon-failure.py
2022-02-06 10:19:03 +01:00
[Install]
WantedBy=multi-user.target