From 94145668d7c15b1fd0a7d5994b495a7d93eb6411 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 10 May 2022 17:48:21 +0300 Subject: [PATCH] systemd/user/qbittorrent-nox: enable automatic restarting I don't appreciate it OOMing on me when I am waiting for Fedora 36 and two Debian images to download. --- conf/systemd/user/qbittorrent-nox.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/systemd/user/qbittorrent-nox.service b/conf/systemd/user/qbittorrent-nox.service index 3016c209..789865d9 100644 --- a/conf/systemd/user/qbittorrent-nox.service +++ b/conf/systemd/user/qbittorrent-nox.service @@ -1,12 +1,12 @@ [Unit] Description=A Headless Bittorrent client using rb_libtorrent -After=mullvad-connect.service -Wants=mullvad-connect.service [Service] Type=simple ExecStart=/usr/bin/qbittorrent-nox --webui-port=8081 ExecReload=/bin/kill -HUP $MAINPID +Restart=always +RestartSec=5 [Install] WantedBy=default.target