[CentOS] Runing multiple daemons with systemctl

C. L. Martinez

carlopmart at gmail.com
Mon Sep 1 10:10:05 UTC 2014


Hi all,

 I am doing some tests with a CentOS7 vm image before to enter in our
production environment. I need to migrate some sysvinit scripts to
systemctl.

 In all of them I need to launch some daemons in the same init script.
For example:

a) start daemon1
b) if daemon1 returns no startup errors, launch daemon2
c) if daemon1 returns any startup error, doesn't start daemon2 and exit.

Is it possible to do this with systemctl??

Thanks.



More information about the CentOS mailing list