September 3, 2015

Lab 4.2

Has anyone else noticed that both echo commands are being executed just after starting the fake2 service? No echo commands are run when stopping the service

-I start the service via: systemctl start fake2.service

-Take a look at its status via: systemctl status fake2.service

and notice that both the I am starting... and I am stopping... syntax is output.

-I then stop the service via: systemctl stop fake2.service

-check the status again via: systemctl status fake2.service

the service does stop but none of the echo text is output.

I am running CentOS 7 via VMWare Player v7.1

Click Here!