modified for venv
This commit is contained in:
parent
e0e6133e12
commit
ea122ddb2b
2 changed files with 10 additions and 7 deletions
|
@ -4,9 +4,9 @@ After=network-online.target
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
User=username
|
||||
WorkingDirectory=/opt/Varken
|
||||
ExecStart=/usr/bin/python3 /opt/Varken/varken.py
|
||||
ExecStart=/opt/Varken/varken-venv/bin/python /opt/Varken/varken.py
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue