systemd/limnoria.service: add TZ env & RestartSec

This commit is contained in:
Aminda Suomalainen 2021-06-02 17:50:30 +03:00
parent 30a308d29f
commit 126918d98d
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

View File

@ -7,6 +7,7 @@ After=network-online.target
[Service]
Type=simple
Environment="TZ=Europe/Helsinki"
# if supybot.commands.allowShell is True and this is not set, may default to /
WorkingDirectory=/home/BOTUSER/
# supybot.pidFile
@ -15,6 +16,7 @@ PIDFile=/home/BOTUSER/BOTNICKNAME/BOTNICKNAME.pid
ExecStart=/home/BOTUSER/.local/bin/supybot /home/BOTUSER/BOTNICKNAME/BOTNICKNAME.conf
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
RestartSec=5s
User=BOTUSER
[Install]