From cbae4286aaab1f6ef7781d6dec4285223de17c59 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 18 Oct 2019 11:32:22 +0100 Subject: [PATCH] define bitbot.service ExecStop as `bitbotctl stop` --- docs/systemd/bitbot.service | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/systemd/bitbot.service b/docs/systemd/bitbot.service index 61ad4659..964be8a4 100644 --- a/docs/systemd/bitbot.service +++ b/docs/systemd/bitbot.service @@ -13,6 +13,7 @@ Group=bitbot WorkingDirectory=/opt/bitbot/ ExecStart=/usr/bin/env python3 bitbotd +ExecStop=/usr/bin/env python3 bitbotctl stop ExecReload=/bin/kill -HUP $MAINPID Restart=always