move bitbot.service, update it for start.py -> bitbotd

This commit is contained in:
jesopo 2019-10-14 10:31:49 +01:00
parent ea589b744f
commit a75386df32

View file

@ -7,14 +7,14 @@ Wants=network-online.target
After=network-online.target
[Service]
User=$USER
Group=$GROUP
WorkingDirectory=/home/$USER/bitbot
ExecStart=/usr/bin/env python3 start.py
# change any of the 3 following lines as applicable
User=bitbot
Group=bitbot
WorkingDirectory=/opt/bitbot/
ExecStart=/usr/bin/env python3 bitbotd
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
[Install]
WantedBy=multi-user.target
# Remember to change $USER and $GROUP with your actual shell username