From 590b9b7b03bf4651e099949e318755af7cfa81b8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 1 Aug 2021 22:03:23 +0100 Subject: gentoo resync : 01.08.2021 --- net-dns/getdns/files/stubby.initd-r2 | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'net-dns/getdns/files/stubby.initd-r2') diff --git a/net-dns/getdns/files/stubby.initd-r2 b/net-dns/getdns/files/stubby.initd-r2 index 69e76c0acfdf..6af818c2db8a 100644 --- a/net-dns/getdns/files/stubby.initd-r2 +++ b/net-dns/getdns/files/stubby.initd-r2 @@ -5,7 +5,7 @@ stubby_opts="-C ${STUBBY_CONFIG_FILE:-/etc/stubby/stubby.yml} -v ${STUBBY_LOGLEVEL:-5}" command="capsh" command_args="--inh=cap_net_bind_service --user=stubby -- -c '/usr/bin/stubby -g ${stubby_opts} >>/var/log/stubby.log 2>&1'" -pidfile="/run/stubby.pid" +pidfile="/run/stubby/stubby.pid" name="DNS Privacy Daemon" depend() @@ -18,11 +18,6 @@ depend() start_pre() { - checkpath -f -m 0644 -o stubby:stubby /run/stubby.pid + checkpath -d -m 0755 -o stubby:stubby /run/stubby checkpath -f -m 0644 -o stubby:stubby /var/log/stubby.log } - -stop_post() -{ - [ -f /run/stubby.pid ] && rm /run/stubby.pid -} -- cgit v1.2.3