From 11acbfaaf6f180b959e3bd06bf8616eb7e0258ae Mon Sep 17 00:00:00 2001 From: gacopl Date: Sat, 1 Jun 2019 15:44:47 +0200 Subject: [PATCH] Fix updates/restarts when using systemd --- init/couchpotato.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init/couchpotato.service b/init/couchpotato.service index c9a0c47..c767c97 100644 --- a/init/couchpotato.service +++ b/init/couchpotato.service @@ -7,6 +7,8 @@ ExecStart=/var/lib/CouchPotatoServer/CouchPotato.py Type=simple User=couchpotato Group=couchpotato +Restart=always +RestartSec=2s [Install] WantedBy=multi-user.target