mirror of
https://github.com/Mikaela/Limnoria-doc.git
synced 2024-12-29 06:42:33 +01:00
Fix systemd unit.
This commit is contained in:
parent
b7347a4a3e
commit
48128a9a63
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user