diff options
author | Mario Schuknecht <mario.schuknecht@dresearch-fe.de> | 2021-01-25 18:09:19 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-01-25 14:58:54 -0800 |
commit | 55c94cb3196f53d0c1c76bbd74136d1b5d51802d (patch) | |
tree | 05025901936b6ada2436e2090d0cac17a844c54c | |
parent | e6ab1ec84bb581deb5c0078b7029a0d80fb5a772 (diff) | |
download | meta-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.service | 2 |
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 | |||
8 | ExecStartPre=/usr/bin/dnsmasq --test | 8 | ExecStartPre=/usr/bin/dnsmasq --test |
9 | ExecStart=/usr/bin/dnsmasq -x /run/dnsmasq.pid -7 /etc/dnsmasq.d --local-service | 9 | ExecStart=/usr/bin/dnsmasq -x /run/dnsmasq.pid -7 /etc/dnsmasq.d --local-service |
10 | ExecStartPost=/usr/bin/dnsmasq-resolvconf-helper start | 10 | ExecStartPost=/usr/bin/dnsmasq-resolvconf-helper start |
11 | ExecStopPre=/usr/bin/dnsmasq-resolvconf-helper stop | 11 | ExecStop=/usr/bin/dnsmasq-resolvconf-helper stop |
12 | ExecStop=/bin/kill $MAINPID | 12 | ExecStop=/bin/kill $MAINPID |
13 | ExecReload=/bin/kill -HUP $MAINPID | 13 | ExecReload=/bin/kill -HUP $MAINPID |
14 | 14 | ||