From 573369860b4fc23d57539ace53d505c0390259c8 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Fri, 27 Dec 2024 17:09:35 +0100 Subject: [PATCH] T6983: treat vyos-domain-resolver as a real service --- .../vyos-domain-resolver.py => services/vyos-domain-resolver} | 0 src/systemd/vyos-domain-resolver.service | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) rename src/{helpers/vyos-domain-resolver.py => services/vyos-domain-resolver} (100%) diff --git a/src/helpers/vyos-domain-resolver.py b/src/services/vyos-domain-resolver similarity index 100% rename from src/helpers/vyos-domain-resolver.py rename to src/services/vyos-domain-resolver diff --git a/src/systemd/vyos-domain-resolver.service b/src/systemd/vyos-domain-resolver.service index e63ae5e34c..87a4748f42 100644 --- a/src/systemd/vyos-domain-resolver.service +++ b/src/systemd/vyos-domain-resolver.service @@ -6,7 +6,9 @@ ConditionPathExistsGlob=/run/use-vyos-domain-resolver* [Service] Type=simple Restart=always -ExecStart=/usr/bin/python3 -u /usr/libexec/vyos/vyos-domain-resolver.py +ExecStart=/usr/bin/python3 -u /usr/libexec/vyos/services/vyos-domain-resolver +SyslogIdentifier=vyos-domain-resolver +SyslogFacility=daemon StandardError=journal StandardOutput=journal