systemd unit adjustments
This commit is contained in:
parent
b4f0d5644f
commit
81d12c92ae
|
@ -8,8 +8,8 @@ Restart=always
|
||||||
Environment=PYTHONPATH=%h/nxy
|
Environment=PYTHONPATH=%h/nxy
|
||||||
Environment=CFG_FILE=config.json
|
Environment=CFG_FILE=config.json
|
||||||
Environment=ENV_FILE=.env
|
Environment=ENV_FILE=.env
|
||||||
WorkingDirectory=/home/nxy
|
WorkingDirectory=%h
|
||||||
ExecStart=/home/nxy/env/bin/python -m bot $CFG_FILE $ENV_FILE
|
ExecStart=%h/env/bin/python -m bot $CFG_FILE $ENV_FILE
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|
Loading…
Reference in New Issue
Block a user