systemctl

user-pic
Vote 0 Votes

在比較新的 Linux, Service Manager 已用 systemctl 取代舊的 chkconfig, service

chkconfig --list = systemctl list-units or systemctl list-unit-files
chkconfig sshd on = systemctl enable sshd.service
chkconfig sshd off = systemctl disable sshd.service
service sshd start = systemctl start sshd.service
service sshd stop = systemctl stop sshd.service
service sshd restart = systemctl restart sshd.service
service sshd status = systemctl status sshd.service

About this Entry

This page contains a single entry by Pank published on May 8, 2014 11:06 AM.

SSH VPN was the previous entry in this blog.

OpenMandriva Linux is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives