CALS NOTE

  • Home
  • Archives
  • Cheatsheets
  • rss
  • About
  • Friends
2018-03-27 Calvin Lam
Comments

Ubunt startup service

Ubuntu

Basic usage

1
2
3
4
5
6
7
8
9
10
11
12
13
14
# List processes
chkconfig --list
systemctl list-units


# Enable / Disable a service - on, off
chkconfig apache on
systemctl enable apache on


# Control a service - start, stop, restart, status
service apache start
systemctl start apache
/etc/init.d/apache start
  • Admin
  • Centos
  • Service
  • Ubuntu
Newer
Docker container startup
Older
SSH tunnel

CALS NOTE

© 2020 Calvin Lam
Modify from Apollo theme, designed by SANOGRAPHIX.NET
Powered by Hexo