Differences
This shows you the differences between two versions of the page.
tech:linux:starting_and_stopping_services_in_ubuntu_linux [2014/11/15 09:13] |
tech:linux:starting_and_stopping_services_in_ubuntu_linux [2014/11/15 09:13] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Starting and Stopping Services in Ubuntu Linux ====== | ||
+ | |||
+ | ===== sysv-rc-conf ===== | ||
+ | |||
+ | sysv-rc-conf is a great tool for the job | ||
+ | |||
+ | Example: The following services were disabled using the tool | ||
+ | |||
+ | <code> | ||
+ | â service 1 2 3 4 5 0 6 S â | ||
+ | â ----------------------------------------------------------------------------â | ||
+ | â db2exc [ ] [X] [X] [X] [X] [ ] [ ] [ ] â | ||
+ | â clamav-da$ [ ] [X] [X] [X] [X] [ ] [ ] [ ] â | ||
+ | â clamav-fr$ [ ] [X] [X] [X] [X] [ ] [ ] [ ] â | ||
+ | â oracle-xe [ ] [X] [X] [X] [X] [ ] [ ] [ ] â | ||
+ | â postgresq$ [ ] [X] [X] [X] [X] [ ] [ ] [ ] â | ||
+ | â nut [ ] [X] [X] [X] [X] [ ] [ ] [ ] â | ||
+ | </code> | ||
+ | |||
+ | |||
+ | ===== update-rc.d ===== | ||
+ | This is the default tool. Example below. | ||
+ | <code> | ||
+ | update-rc.d -f gitlab remove | ||
+ | </code> | ||
+ | |||
+ | ===== Other Info ===== | ||
+ | For redhat check [[https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-services-chkconfig.html|chkconfig]] tool. | ||
+ | |||
+ | Keywords: init.d startup reboot | ||