]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
systemd: no need to include defaults
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 5 Feb 2018 18:56:09 +0000 (13:56 -0500)
committerTomas Krizek <tomas.krizek@nic.cz>
Fri, 16 Feb 2018 09:40:41 +0000 (10:40 +0100)
We want these files to be as simple as possible; there's no reason to
include arguments that are already the default.

--forks=1 is the default.

and the unit files indicate WorkingDirectory already.

systemd/default/kresd

index 29a433e207c43807e09ff56da6422256d37df488..3ecd6fc5a0ad41e19beaebd481e1e45226a71944 100644 (file)
@@ -1,5 +1,5 @@
 # Used for systemd activation
-KRESD_ARGS="--config=/etc/knot-resolver/kresd.conf --forks=1 /var/cache/knot-resolver"
+KRESD_ARGS="--config=/etc/knot-resolver/kresd.conf"
 
 # Standalone daemon arguments
 DAEMON_ARGS="--addr=127.0.0.1#53 --addr=::1#53 $KRESD_ARGS"