From 126918d98d3366275ea498e4247dd7bb4c7c96cf Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Wed, 2 Jun 2021 17:50:30 +0300 Subject: [PATCH] systemd/limnoria.service: add TZ env & RestartSec --- etc/systemd/system/limnoria.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/systemd/system/limnoria.service b/etc/systemd/system/limnoria.service index cd031f2b..5cb75824 100644 --- a/etc/systemd/system/limnoria.service +++ b/etc/systemd/system/limnoria.service @@ -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]