diff options
author | Tom Hendrikx (whyscream) <tom@whyscream.net> | 2012-11-26 23:22:23 +0100 |
---|---|---|
committer | Tom Hendrikx (whyscream) <tom@whyscream.net> | 2012-11-26 23:22:23 +0100 |
commit | 9e130be7ad809d9aaee0268e6ef264361803f1d9 (patch) | |
tree | 292ba59e083bdaec7b0997cdcced070234adb183 /net-dns/nsd/files/nsd.initd | |
parent | app-admin/reprepro: New Ebuild for bug #443476. (diff) | |
download | sunrise-9e130be7ad809d9aaee0268e6ef264361803f1d9.tar.gz sunrise-9e130be7ad809d9aaee0268e6ef264361803f1d9.tar.bz2 sunrise-9e130be7ad809d9aaee0268e6ef264361803f1d9.zip |
net-dns/nsd: Move /var/run/nsd/ creation to init script
Diffstat (limited to 'net-dns/nsd/files/nsd.initd')
-rw-r--r-- | net-dns/nsd/files/nsd.initd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net-dns/nsd/files/nsd.initd b/net-dns/nsd/files/nsd.initd index 891df962e..1325420aa 100644 --- a/net-dns/nsd/files/nsd.initd +++ b/net-dns/nsd/files/nsd.initd @@ -62,6 +62,10 @@ rebuild() { start() { ebegin "Starting NSD" + + local pidfile=$(${my_nsd_checkconf} -o pidfile ${config_file}) + checkpath -d -o nsd:nsd $(dirname ${pidfile}) + _checkconf || return 1 _checkdb || return 1 ${my_nsdc} start |