[systemd-devel] combine old-style sysvinit daemon and new-style systemd

Vasiliy G Tolstov v.tolstov at selfip.ru
Thu May 26 01:33:37 PDT 2011


Hello. If i want to write daemon, that can be running by regular init
system (openrc, upstart and others) and systemd, how can i check inside
my daemon, that it runs from systemd?
In compile phase, i can build with systemd support and install service
file, but if i do not want to write and build separate binaries for two
init daemons, how can i solve this?


-- 
Vasiliy G Tolstov <v.tolstov at selfip.ru>
Selfip.Ru



More information about the systemd-devel mailing list