From 04f515f995d74c928648c3f58262b1418f4886f4 Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Fri, 11 Feb 2022 21:18:04 +0100 Subject: [PATCH] Add Type=oneshot to service --- systemd-templates/dns-update.service | 1 + 1 file changed, 1 insertion(+) diff --git a/systemd-templates/dns-update.service b/systemd-templates/dns-update.service index 2cbb707..5099b3d 100644 --- a/systemd-templates/dns-update.service +++ b/systemd-templates/dns-update.service @@ -2,5 +2,6 @@ Description=Update (if needed) name server with our IP [Service] +Type=oneshot User=PH_USER ExecStart=PH_DIRECTORY/main.sh