vis: Convert to procd based init script 489/head
authorSven Eckelmann <sven@narfation.org>
Sat, 27 Jul 2019 21:33:35 +0000 (23:33 +0200)
committerSven Eckelmann <sven@narfation.org>
Sat, 27 Jul 2019 22:17:42 +0000 (00:17 +0200)
The legacy init script had various problems in comparison with procd based
init scripts. It wasn't able to correctly track the running process
instance and thus could:

* accidentally kill another (non init controlled) daemon instance when stop
  is used
* not restart the daemon depending on config changes when reload is used
* not automatically start/restart daemon when the used netdev was
  created/recreated

The information about a running instance and its parameters can now be
handled by a global controller (procd). The process must not fork anymore
and leave the control to procd. The process with its parameters can then be
used by procd to trigger the stop/start of the process at the right time.

Signed-off-by: Sven Eckelmann <sven@narfation.org>

No differences found