mirror of
https://github.com/Mikaela/Limnoria-doc.git
synced 2024-12-28 14:12:35 +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]
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user