To check runlevels apache2 is configured to start on

adding ... create an alias with the name chkconfig for sysv-rc-conf
–
ShashiApr 23 '14 at 9:46

For all who are puzzled about Upstart: There is no way to enable/disable Upstart type services in a common or automated fashion. According to docs: Upstart: If no config is available in /etc/default, edit config in /etc/init which reads to me like "improving a bad situation means for us making it unbearable". Hence no wonder package maintainers with a healthy mind stay with RC type initscripts.
–
TinoMay 12 '14 at 19:32

The Upstart equivalent of chkconfig is the update-rc.d. There's some info on how to use it in the UbuntuBootupHowto linked in L. D. James's answer.

Admittedly, this tool is anything but friendly; it tends to expose the ugly underbelly of SysV init with all it's gory runlevel and priority blackmagic. I have almost never managed to get it to do what I want in the first go. chkconfig did a fantastic job of abstracting all those numbers away and providing a simple, usable interface that was loved by all. Nevertheless, it was always lipstick on a pig.

It's a brave new world and I would suggest you put in some time towards learning how Upstart works so that you can wire new jobs using that. For existing packages/applications that still provide you with SysV init scripts, update-rc.d should allow you to do everything that chkconfig did, except for one usecase. update-rc.d provides no clean way to see what the current status of a given service is, i.e., there is no equivalent of chkconfig --list. For this particular case, I'd suggest ls -l /etc/rc*.d/*${service_name}.

Upstart is to starting the service, I want the service do not start when I reboot my OS. Why the friendly tools is deprecated? and the unfriendly tools take it's place
–
王子1986Feb 19 '13 at 1:32

Like I said above, I agree that update-rc.d is an unfriendly tool and it is somewhat unfortunate that it has been discontinued on Ubuntu. That said, it was always a RHEL family tool that had been ported to Ubuntu. As for avoiding services from starting on booting into a particular runlevel, this can be achieved using Upstart as well. Just look at the 'start on runlevel' line in /etc/init/cron.conf .
–
dexterousApr 4 '13 at 4:22

Jobservice, along with jobs-admin is a GUI based tool for handling some upstart scripts if that is your preference. It can be installed from the software center or by running sudo apt-get install jobservice jobs-admin from a terminal.

If I recall, there did not appear to be an easy way to add new jobs from the GUI.

Citing from the last URL: Upstart: If no config is available in /etc/default, edit config in /etc/init which is a very sad, extremely painful and very inept way. (Ubuntu 14.04 LTS)
–
TinoMay 12 '14 at 19:23