mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-02-18 06:31:01 +01:00
systemd/limnoria.service: add TZ env & RestartSec
This commit is contained in:
parent
30a308d29f
commit
126918d98d
@ -7,6 +7,7 @@ After=network-online.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
Environment="TZ=Europe/Helsinki"
|
||||||
# if supybot.commands.allowShell is True and this is not set, may default to /
|
# if supybot.commands.allowShell is True and this is not set, may default to /
|
||||||
WorkingDirectory=/home/BOTUSER/
|
WorkingDirectory=/home/BOTUSER/
|
||||||
# supybot.pidFile
|
# supybot.pidFile
|
||||||
@ -15,6 +16,7 @@ PIDFile=/home/BOTUSER/BOTNICKNAME/BOTNICKNAME.pid
|
|||||||
ExecStart=/home/BOTUSER/.local/bin/supybot /home/BOTUSER/BOTNICKNAME/BOTNICKNAME.conf
|
ExecStart=/home/BOTUSER/.local/bin/supybot /home/BOTUSER/BOTNICKNAME/BOTNICKNAME.conf
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
Restart=always
|
Restart=always
|
||||||
|
RestartSec=5s
|
||||||
User=BOTUSER
|
User=BOTUSER
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user