mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
map-controller: init.d start on reload if not running
This commit is contained in:
parent
52f35c0763
commit
0160f21f10
1 changed files with 6 additions and 0 deletions
|
|
@ -48,5 +48,11 @@ reload_service() {
|
|||
return
|
||||
fi
|
||||
|
||||
pidof "mapcontroller" > /dev/null
|
||||
if [[ $? -ne 0 ]] ; then
|
||||
start
|
||||
return
|
||||
fi
|
||||
|
||||
procd_send_signal "mapcontroller"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue