User Tools

Site Tools


computing:linux:services_startup

This is an old revision of the document!


Services Startup Configuration Notes

systemd

https://askubuntu.com/questions/912216/16-04-command-to-list-all-services-started-on-boot

  • + = running
  • - = stopped

List services:

service --status-all

Enable or disable a service:

systemctl [enable|disable] <servicename>

List all enabled services:

systemctl list-unit-files | grep enabled

List currently running services:

systemctl | grep running

sysvinit

/etc/init.d/<servicename> start|stop|status

CentOS/RedHat

chkconfig --list

chkconfig <servicename> on|off

Debian/Ubuntu

apt-get install rcconf

rcconf --list

rcconf --on <servicename>
computing/linux/services_startup.1519828868.txt.gz · Last modified: 2018/02/28 07:41 by gcooper