Fixed working dir in unit file

This commit is contained in:
mrhanky
2017-07-31 15:31:45 +02:00
parent 6ac0e94180
commit 564c41aba0

View File

@@ -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