From 48128a9a6385a2fe38f8ce7ebd131d31c07c1257 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 3 May 2017 21:31:30 +0200 Subject: [PATCH] Fix systemd unit. --- use/supybot-botchk.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/use/supybot-botchk.rst b/use/supybot-botchk.rst index 9b204c7..ef222eb 100644 --- a/use/supybot-botchk.rst +++ b/use/supybot-botchk.rst @@ -95,11 +95,12 @@ following content replacing things were suitable:: [Service] Environment="PATH=/usr/local/bin:/usr/local/sbin:/usr/local/games:/usr/bin:/usr/sbin:/usr/games:/bin:/sbin:/bin:/opt/local/bin:/opt/local/sbin:/opt/local/games TZ=UTC" - Type=forking - ExecStart=/usr/local/bin/supybot /home/bot/botname/botname.conf --daemon + Type=simple + ExecStart=/usr/local/bin/supybot /home/bot/botname/botname.conf ExecReload=/bin/kill -HUP $MAINPID Restart=always User=BOTUSERNAME + SyslogIdentifier=Supybot [Install] WantedBy=multi-user.target