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