killall -w kresd
rm -f '*.mdb'
-$PREFIX/sbin/kresd -f 1 -q -c $(pwd)/ci/respdiff/kresd.config &>>kresd.log &
+$PREFIX/sbin/kresd -n -q -c $(pwd)/ci/respdiff/kresd.config &>>kresd.log &
# wait until socket is receiving connections
sleep 1
# dig @localhost -p 53533
#run kresd
-$PREFIX/sbin/kresd -f 1 -q -c $(pwd)/ci/respdiff/kresd.config &>kresd.log &
+$PREFIX/sbin/kresd -n -q -c $(pwd)/ci/respdiff/kresd.config &>kresd.log &
# dig @localhost -p 5353
and the kernel will load-balance between them on Linux with \fISO_REUSEPORT\fR support.
When socket-activated and supervised by systemd or the equivalent, kresd defaults to
---forks=1, and must not be set to any other value. If you want multiple concurrent
+--noninteractive. If you want multiple concurrent
processes supervised in this way, they should be supervised independently (see
\fBkresd.systemd(7)\fR).
.TP
if os.path.exists(configcmdpath):
self._comp_script('test.sh')
elif os.path.exists(configtestpath):
- self.image.cmd('kresd -f 1 -c {}'.format(configtestpath))
+ self.image.cmd('kresd -n -c {}'.format(configtestpath))
self.image.run_script(self.compimg_path + '/post-run.sh')
Type=notify
Environment="SYSTEMD_INSTANCE=%i"
WorkingDirectory=@systemd_work_dir@
-ExecStart=@sbin_dir@/kresd --config=@etc_dir@/kresd.conf --forks=1
+ExecStart=@sbin_dir@/kresd --config=@etc_dir@/kresd.conf --noninteractive
User=@user@
Group=@group@
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_SETPCAP