Fixed working dir in unit file
This commit is contained in:
parent
6ac0e94180
commit
564c41aba0
|
@ -7,7 +7,7 @@ Type=simple
|
||||||
Restart=always
|
Restart=always
|
||||||
Environment=PYTHONPATH=%h/nxy
|
Environment=PYTHONPATH=%h/nxy
|
||||||
WorkingDirectory=/home/nxy/nxy
|
WorkingDirectory=/home/nxy/nxy
|
||||||
ExecStart=/home/nxy/nxy/env/bin/python -m bot config.json
|
ExecStart=/home/nxy/env/bin/python -m bot config.json
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|
Loading…
Reference in New Issue
Block a user