move bitbot.service, update it for start.py
-> bitbotd
This commit is contained in:
parent
ea589b744f
commit
a75386df32
1 changed files with 6 additions and 6 deletions
|
@ -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
|
|
Loading…
Reference in a new issue