define bitbot.service ExecStop as bitbotctl stop

This commit is contained in:
jesopo 2019-10-18 11:32:22 +01:00
parent 00e85c7573
commit cbae4286aa

View file

@ -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