diff options
| author | 2019-10-14 10:31:49 +0100 | |
|---|---|---|
| committer | 2019-10-14 10:31:49 +0100 | |
| commit | a75386df3280eb8ad95d4fddc21b54a82ff48174 (patch) | |
| tree | 996aaf637c7e6596e4b373104e7f228ba8fab09a /docs/systemd | |
| parent | Merge pull request #173 from panicbit/splitpoints (diff) | |
| signature | ||
move bitbot.service, update it for `start.py` -> `bitbotd`
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 |
