bitbot-3.11-fork/bitbot.service
Vitor Luis 3f04c1cff1
Create bitbot.service
Systemd script to use with Ubuntu 18.04 LTS (tested) or similar.
2019-03-13 19:01:31 +01:00

20 lines
487 B
Desktop File

# This systemd script was made to be used in Ubuntu 18.04 LTS
# Check your distro docs and make the appropriate changes if needed
[Unit]
Description=BitBot Service
Wants=network-online.target
After=network-online.target
[Service]
User=$USER
Group=$GROUP
WorkingDirectory=/home/$USER/bitbot
ExecStart=/usr/bin/python3 start.py
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
[Install]
WantedBy=multi-user.target
# Remember to change $USER and $GROUP with your actual shell username