[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to check for other init systems from sysvinit script



Practical question: if I were to support systemd .service, upstart init job and/or OpenRC <whatever> together with standard sysvinit script, how do I check for currently used init system from sysvinit script to not start the service for a second time?

Is there some material on wiki.d.o I can use (and if not can somebody prepare it)?

Ondřej Surý

Reply to: