pdns init script improvements

Fix #1149