created systemd config example
This commit is contained in:
parent
a5f138785d
commit
dc3c7b2f5a
1 changed files with 12 additions and 0 deletions
12
varken.service
Normal file
12
varken.service
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=Varken - A data collection and graphing tool
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/Varken/Varken
|
||||
ExecStart=/usr/bin/python3 /opt/Varken/Varken/varken.py
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue