summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Schuknecht <mario.schuknecht@dresearch-fe.de>2021-01-25 18:09:19 +0100
committerKhem Raj <raj.khem@gmail.com>2021-01-25 14:58:54 -0800
commit55c94cb3196f53d0c1c76bbd74136d1b5d51802d (patch)
tree05025901936b6ada2436e2090d0cac17a844c54c
parente6ab1ec84bb581deb5c0078b7029a0d80fb5a772 (diff)
downloadmeta-openembedded-55c94cb3196f53d0c1c76bbd74136d1b5d51802d.tar.gz
dnsmasq: Fix systemd service
Systemd service file option 'ExecStopPre' is warned and ignored by systemd. By replacing 'ExecStopPre' with 'ExecStop', the intended behavior is realized. The 'ExecStop' commands are executed one after the other. Signed-off-by: Mario Schuknecht <mario.schuknecht@dresearch-fe.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-support/dnsmasq/files/dnsmasq-resolvconf.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/dnsmasq/files/dnsmasq-resolvconf.service b/meta-networking/recipes-support/dnsmasq/files/dnsmasq-resolvconf.service
index 2980f7def6..ef2f3f7e41 100644
--- a/meta-networking/recipes-support/dnsmasq/files/dnsmasq-resolvconf.service
+++ b/meta-networking/recipes-support/dnsmasq/files/dnsmasq-resolvconf.service
@@ -8,7 +8,7 @@ PIDFile=/run/dnsmasq.pid
8ExecStartPre=/usr/bin/dnsmasq --test 8ExecStartPre=/usr/bin/dnsmasq --test
9ExecStart=/usr/bin/dnsmasq -x /run/dnsmasq.pid -7 /etc/dnsmasq.d --local-service 9ExecStart=/usr/bin/dnsmasq -x /run/dnsmasq.pid -7 /etc/dnsmasq.d --local-service
10ExecStartPost=/usr/bin/dnsmasq-resolvconf-helper start 10ExecStartPost=/usr/bin/dnsmasq-resolvconf-helper start
11ExecStopPre=/usr/bin/dnsmasq-resolvconf-helper stop 11ExecStop=/usr/bin/dnsmasq-resolvconf-helper stop
12ExecStop=/bin/kill $MAINPID 12ExecStop=/bin/kill $MAINPID
13ExecReload=/bin/kill -HUP $MAINPID 13ExecReload=/bin/kill -HUP $MAINPID
14 14