LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   By reboot the service is not started (https://www.linuxquestions.org/questions/solaris-opensolaris-20/by-reboot-the-service-is-not-started-4175468989/)

thomas2004ch 07-09-2013 06:30 AM

By reboot the service is not started
 
I've created a service and I can use the svcadm to start and to stop it.

Now I stop it and reboot the machine and hope by rebooting it will be restarted. But it doesn't.

What could be the reason?

thomas2004ch 07-09-2013 06:46 AM

I think maybe I should keep the service started before I reboot the machine? Or in other words, if the service is stopped (disable) before reboot, it will not be restarted by rebooting?

jlliagre 07-09-2013 05:17 PM

There is no start or stop service commands but enable or disable. If you disable a service, it won't be started at reboot for obvious reasons.


All times are GMT -5. The time now is 07:25 PM.