From ac39bf42cd08e19a850b7f1328ece63b49027057 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Sun, 11 Feb 2024 21:07:06 +0000 Subject: [PATCH] fhem.service: add network-online.target as option #msg=1303306 git-svn-id: https://svn.fhem.de/fhem/trunk@28505 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/init-scripts/fhem.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/fhem/contrib/init-scripts/fhem.service b/fhem/contrib/init-scripts/fhem.service index 9dbd78f4a..0f82f1a40 100644 --- a/fhem/contrib/init-scripts/fhem.service +++ b/fhem/contrib/init-scripts/fhem.service @@ -4,6 +4,19 @@ Description=FHEM Home Automation Wants=network.target After=network.target + +# In case of suspicious reconnect problems after reboot +# you can try to replace the above lines for +# network target by the below lines with +# network-online.target +# +# network-online.target will only work if +# "modern" network management tools (e.g. NetworkManager) +# are used. +# +# Wants=network-online.target +# After=network-online.target + #Requires=postgresql.service #After=postgresql.service #Requires=mysql.service