May 10, 2016

Lab 4.2, echo does not display when invoking script with invoke-rc.d

In lab 4.2, when invoking fake_service with invoke-rc.d on ubuntu 15.04 the echo command on start | stop is not displayed in the terminal (the output of the echo redirected to the file fake_service.log works). However, when ran directly (sudo ./etc/init.d/fake_service start), the output of the echo command "Running the fake_service in start mode..." is displayed.

How come?

Click Here!