blob: 26fbea105d77e6e0cc76c748753f50955b47a0f8 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#!/bin/sh /etc/rc.common
2START=99
3
4USE_PROCD=1
5
6start_service() {
7 [ -e /etc/powerdns/recursor.conf ] || return 1
8
9 procd_open_instance
10 procd_set_param command /usr/sbin/pdns_recursor --daemon=no
11 procd_set_param file /etc/powerdns/recursor.conf
12 procd_set_param respawn
13 procd_close_instance
14}