From a75386df3280eb8ad95d4fddc21b54a82ff48174 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 14 Oct 2019 10:31:49 +0100 Subject: move bitbot.service, update it for `start.py` -> `bitbotd` --- docs/systemd/bitbot.service | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 docs/systemd/bitbot.service (limited to 'docs/systemd') 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 -- cgit v1.3.1-10-gc9f91