Fix systemd unit.

This commit is contained in:
Valentin Lorentz 2017-05-03 21:31:30 +02:00
parent b7347a4a3e
commit 48128a9a63

View File

@ -95,11 +95,12 @@ following content replacing things were suitable::
[Service] [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" 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 Type=simple
ExecStart=/usr/local/bin/supybot /home/bot/botname/botname.conf --daemon ExecStart=/usr/local/bin/supybot /home/bot/botname/botname.conf
ExecReload=/bin/kill -HUP $MAINPID ExecReload=/bin/kill -HUP $MAINPID
Restart=always Restart=always
User=BOTUSERNAME User=BOTUSERNAME
SyslogIdentifier=Supybot
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target