From 88e5b51ebfc388075ae42d213a200db6967a773c Mon Sep 17 00:00:00 2001 From: betateilchen Date: Tue, 23 Jan 2018 20:05:16 +0000 Subject: [PATCH] fhem.service: restart=always reactivated git-svn-id: https://svn.fhem.de/fhem/trunk@15975 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/init-scripts/fhem.service | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/fhem/contrib/init-scripts/fhem.service b/fhem/contrib/init-scripts/fhem.service index 439880da5..55eafd802 100644 --- a/fhem/contrib/init-scripts/fhem.service +++ b/fhem/contrib/init-scripts/fhem.service @@ -12,12 +12,13 @@ Group=dialout WorkingDirectory=/opt/fhem ExecStart=/usr/bin/perl fhem.pl fhem.cfg #ExecStart=/usr/bin/perl fhem.pl configDB -# uncomment next two lines if auto-restart desired +# uncomment next two lines if auto-restart desired # please select restart options according your needs # Restart=on-abnormal # uncomment for crash and watchdog event recovery only (keeps shutdown working) -# Restart=always # alternativly uncomment this line for recover always -# RestartSec=5 # uncomment always if restart required! + +Restart=always # alternativly uncomment this line for recover always +RestartSec=5 # uncomment always if restart required! [Install] WantedBy=multi-user.target