要使用systemctl管理Linux服务进程,可以使用以下命令:
sudo systemctl start servicename
sudo systemctl stop servicename
sudo systemctl restart servicename
sudo systemctl reload servicename
sudo systemctl status servicename
sudo systemctl enable servicename
sudo systemctl disable servicename
sudo systemctl list-unit-files --type=service
注意:以上命令中的"servicename"需要替换为具体的服务名称。
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>