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