includes systemd service setup
This commit is contained in:
parent
6a4654a278
commit
d65a79adb1
4 changed files with 36 additions and 9 deletions
13
app-timer.service
Normal file
13
app-timer.service
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=App Timer Service
|
||||
StartLimitIntervalSec=0
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
User=root
|
||||
ExecStart=/usr/bin/env python3 /opt/app-timer/timer.py
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue