systemd unit adjustments

This commit is contained in:
jkhsjdhjs 2020-10-06 16:29:57 +00:00
parent b4f0d5644f
commit 81d12c92ae

View File

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