mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-09 20:31:10 +00:00
service unit
This commit is contained in:
parent
fcc02da845
commit
f8aed654b9
2 changed files with 12 additions and 1 deletions
10
lego-monitoring.service
Normal file
10
lego-monitoring.service
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
After=docker.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/opt/lego-monitoring/.venv/bin/python /opt/lego-monitoring/service.py
|
||||
Type=exec
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue