Final location of bitbot.service systemd script
Moved the systemd script to `/docs/bitbot.service` as suggested here: https://github.com/jesopo/bitbot/pull/48#issuecomment-472541794 Need to delete the one in the root folder.
This commit is contained in:
parent
3f04c1cff1
commit
ae8f90d052
1 changed files with 20 additions and 0 deletions
20
docs/bitbot.service
Normal file
20
docs/bitbot.service
Normal file
|
@ -0,0 +1,20 @@
|
|||
# This systemd script was made to be used in Ubuntu 18.04 LTS
|
||||
# Check your distro 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/env 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
|
Loading…
Reference in a new issue