Fedora 16下让指定服务开机自动运行
需要使用/bin/systemctl指令。
例如:
$ sudo systemctl enable sshd.service
如此可以让sshd服务开机时自动运行。
另外,启动和关闭服务的命令也渐渐由原来的service转向systemctl.
例如:
$ sudo systemctl start sshd.service
$ sudo systemctl stop sshd.service
此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/66727.html