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