diff options
Diffstat (limited to 'docs/systemd')
| -rw-r--r-- | docs/systemd/bitbot.service | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/systemd/bitbot.service b/docs/systemd/bitbot.service new file mode 100644 index 00000000..61ad4659 --- /dev/null +++ b/docs/systemd/bitbot.service @@ -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] +# 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 |
