[CentOS] Start/stop multiple daemons simultaneously

Mateusz Guz Mateusz.Guz at itworks.pl
Tue Jul 15 13:10:07 UTC 2014


Thx , downloading centos7 gonna test that one-liner soon

-----Original Message-----
From: Reindl Harald [mailto:h.reindl at thelounge.net] 
Sent: Tuesday, July 15, 2014 3:03 PM
To: CentOS mailing list; Mateusz Guz
Subject: Re: [CentOS] Start/stop multiple daemons simultaneously



Am 15.07.2014 14:57, schrieb Mateusz Guz:
> I know it might not be (only) Centos related, but Is it possible to run multiple daemons at the same time, something like:
> Service {httpd.mysqld,selinux} start  ? (without creating additional 
> files, or using loops - just command line)

with CentOS7 yes

systemctl start service1 service2 service3 systemctl condrestart service1 service2 service3

BTW: selinux is *not* a service at all




More information about the CentOS mailing list