> ## Content Index
> Fetch the complete content index at: https://kudithipudi.org/llms.txt
> Use this file to discover other available public pages before exploring further.

# HOW TO : Manage startup services in Ubuntu
- URL: https://kudithipudi.org/how-to-manage-startup-services-in-ubuntu/
- Published: 2011-01-26T15:06:45.000Z
- Updated: 2011-01-26T15:06:45.000Z
- Description: Most Redhat/Fedora users are used to chkconfig and service for controlling the services/programs that startup at boot time. Here is how you do it in Ubuntu...
- Author: admin
- Tags: HOWTO, Linux, Technology, Uncategorized, #wp, #wp-post, #Import 2026-08-23 02:32

Most Redhat/Fedora users are used to chkconfig and service for controlling the services/programs that startup at boot time. Here is how you do it in Ubuntu

- Check status of a particular service

\[bash\] sudo SERVICE\_NAME status \[/bash\]

Example : Check the status of Apache Web Service

\[bash\]samurai@samurai:\~$ sudo service apache2 status  
Apache is running (pid 3496).\[/bash\]

- Add a service to start on bootup

\[bash\] update-rc.d SERVICE\_NAME add \[/bash\]

Example : Configure squid to start on bootup

\[bash\] update-rc.d squid add \[/bash\]

- Stop a service from starting on bootup

\[bash\] update-rc.d SERVICE\_NAME remove \[/bash\]

Example : Configure squid to NOT start on bootup

\[bash\] update-rc.d squid remove \[/bash\]

NOTE : You need to have a startup script in /etc/init.d for the service to ensure update-rc.d works fine.