map-controller: init.d start on reload if not running

This commit is contained in:
Filip Matusiak 2021-04-12 12:52:26 +02:00 committed by Jakob Olsson
parent 52f35c0763
commit 0160f21f10

View file

@ -48,5 +48,11 @@ reload_service() {
return
fi
pidof "mapcontroller" > /dev/null
if [[ $? -ne 0 ]] ; then
start
return
fi
procd_send_signal "mapcontroller"
}