diff --git a/test/fuzz/fuzz-unit-file/systemd-resolved.service b/test/fuzz/fuzz-unit-file/systemd-resolved.service index 1b7cc15aeef..c9f5392badd 100644 --- a/test/fuzz/fuzz-unit-file/systemd-resolved.service +++ b/test/fuzz/fuzz-unit-file/systemd-resolved.service @@ -22,8 +22,6 @@ Wants=nss-lookup.target [Service] Type=notify -Restart=always -RestartSec=0 ExecStart=!!/usr/lib/systemd/systemd-resolved WatchdogSec=3min User=systemd-resolve diff --git a/units/systemd-resolved.service.in b/units/systemd-resolved.service.in index f18fbd89e80..497042a7e22 100644 --- a/units/systemd-resolved.service.in +++ b/units/systemd-resolved.service.in @@ -37,8 +37,6 @@ ProtectKernelLogs=yes ProtectKernelModules=yes ProtectKernelTunables=yes ProtectSystem=strict -Restart=always -RestartSec=0 RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6 RestrictNamespaces=yes RestrictRealtime=yes diff --git a/units/systemd-timesyncd.service.in b/units/systemd-timesyncd.service.in index 560bcee92f4..6a71fc0b139 100644 --- a/units/systemd-timesyncd.service.in +++ b/units/systemd-timesyncd.service.in @@ -40,8 +40,6 @@ ProtectKernelLogs=yes ProtectKernelModules=yes ProtectKernelTunables=yes ProtectSystem=strict -Restart=always -RestartSec=0 RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 RestrictNamespaces=yes RestrictRealtime=yes