From 285c8f70f84d5efe96d50a9e239c7e460be5cd38 Mon Sep 17 00:00:00 2001 From: Dylan Date: Wed, 1 Jun 2022 19:25:23 +0000 Subject: [PATCH] Service auto-restart --- twitfix.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/twitfix.service b/twitfix.service index 80e99a9..8d557af 100644 --- a/twitfix.service +++ b/twitfix.service @@ -8,6 +8,8 @@ Group=dylan WorkingDirectory=/home/dylan/BetterTwitFix Environment="PATH=/home/dylan/BetterTwitFix/venv/bin" ExecStart=/home/dylan/BetterTwitFix/venv/bin/uwsgi --ini twitfix.ini +Restart=always +RestartSec=3 [Install] WantedBy=multi-user.target