User Tools

Site Tools


computing:linux:services_startup

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

Query status, enable or disable a service:

systemctl [is-enabled|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.txt · Last modified: 2018/02/28 09:09 by gcooper