]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
dnsdist: Improve initscript to prevent reload on config error
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 1 Jun 2021 09:39:09 +0000 (11:39 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 1 Jun 2021 09:39:09 +0000 (11:39 +0200)
commit839451c527ddb4563a3ea2361e012e405a5b11a2
treefb545c78750ff4fcaec05351c95efec58b3b2e46
parentceb5733c595b99c3f23e1c0b18cd315babb6afeb
dnsdist: Improve initscript to prevent reload on config error

start, restart and reload will now be prohibited if the configuration
file has an incorrect syntax. This avoids killing a running daemon and
is showing an indication to the user instead of having the daemon dying
silently in the background.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/dnsdist
src/initscripts/packages/dnsdist