statd: move start to runlevel 2 to save CPU cycles at bootstrap

Also, we don't need to start a logger process for statd, it behaves
nicely and uses syslog.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2026-03-20 16:18:03 +01:00
parent 3deb021bce
commit 9c2a90c07a
2 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
#set DEBUG=1
service name:statd log [S12345] <pid/confd> statd -f -p /run/statd.pid -n -- Status daemon
service name:statd [12345] <pid/confd> statd -f -p /run/statd.pid -n -- Status daemon
-3
View File
@@ -90,9 +90,6 @@ def main():
elif args.model == 'ietf-bfd-ip-sh':
from . import ietf_bfd_ip_sh
yang_data = ietf_bfd_ip_sh.operational()
elif args.model == 'infix-wifi-radio':
from . import infix_wifi_radio
yang_data = infix_wifi_radio.operational()
else:
common.LOG.warning("Unsupported model %s", args.model)
sys.exit(1)