From f2f086567a3dea3717219e776a464a3a59ccc085 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 11 Mar 2023 23:09:38 +0100 Subject: keepalived: T5003: remove Debian default config path from ConditionFileNotEmpty Also ExecReload is a duplicate of the base service file --- src/etc/systemd/system/keepalived.service.d/override.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/etc/systemd') diff --git a/src/etc/systemd/system/keepalived.service.d/override.conf b/src/etc/systemd/system/keepalived.service.d/override.conf index 923e1d280..d91a824b9 100644 --- a/src/etc/systemd/system/keepalived.service.d/override.conf +++ b/src/etc/systemd/system/keepalived.service.d/override.conf @@ -1,6 +1,8 @@ [Unit] After=vyos-router.service -# Only start if there is a configuration file +# Only start if there is our configuration file - remove Debian default +# config file from the condition list +ConditionFileNotEmpty= ConditionFileNotEmpty=/run/keepalived/keepalived.conf [Service] @@ -9,5 +11,4 @@ Type=simple # Read configuration variable file if it is present ExecStart= ExecStart=/usr/sbin/keepalived --use-file /run/keepalived/keepalived.conf --pid /run/keepalived/keepalived.pid --dont-fork --snmp -ExecReload=/bin/kill -HUP $MAINPID PIDFile=/run/keepalived/keepalived.pid -- cgit v1.2.3