From a75386df3280eb8ad95d4fddc21b54a82ff48174 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 14 Oct 2019 10:31:49 +0100 Subject: [PATCH] move bitbot.service, update it for `start.py` -> `bitbotd` --- docs/{ => systemd}/bitbot.service | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename docs/{ => systemd}/bitbot.service (65%) diff --git a/docs/bitbot.service b/docs/systemd/bitbot.service similarity index 65% rename from docs/bitbot.service rename to docs/systemd/bitbot.service index 1bd18ef5..61ad4659 100644 --- a/docs/bitbot.service +++ b/docs/systemd/bitbot.service @@ -7,14 +7,14 @@ Wants=network-online.target After=network-online.target [Service] -User=$USER -Group=$GROUP -WorkingDirectory=/home/$USER/bitbot -ExecStart=/usr/bin/env python3 start.py +# 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 - -# Remember to change $USER and $GROUP with your actual shell username