summaryrefslogtreecommitdiffstats
path: root/ci/respdiff/restart-kresd.sh
blob: 4e9387cb0a66e1584c2aca0a8cd6749cd648fb34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# SPDX-License-Identifier: GPL-3.0-or-later

exec > /dev/null
exec 2>&1

killall -w kresd
rm -f '*.mdb'
$PREFIX/sbin/kresd -n -q -c $(pwd)/ci/respdiff/kresd.config &>>kresd.log &

# wait until socket is receiving connections
sleep 1