답변1
다른 점이 없다.
의 단위 파일은 network-manager.service
에 대한 심볼릭 링크입니다 NetworkManager.service
.
$ file $(locate network-manager.service)
/lib/systemd/system/network-manager.service: symbolic link to NetworkManager.service
"두" 서비스는 동일한 프로세스입니다.
$ systemctl status NetworkManager
● NetworkManager.service - Network Manager
Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2017-05-28 06:51:58 BST; 25min ago
Docs: man:NetworkManager(8)
Main PID: 667 (NetworkManager)
CGroup: /system.slice/NetworkManager.service
├─ 667 /usr/sbin/NetworkManager --no-daemon
└─1277 /sbin/dhclient -d -q -sf /usr/lib/NetworkManager/nm-dhcp-helper -pf /var/run/dhclient-wlan0.pid -lf /var/lib/NetworkManager/dhclient
$ systemctl status network-manager
● NetworkManager.service - Network Manager
Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2017-05-28 06:51:58 BST; 25min ago
Docs: man:NetworkManager(8)
Main PID: 667 (NetworkManager)
CGroup: /system.slice/NetworkManager.service
├─ 667 /usr/sbin/NetworkManager --no-daemon
└─1277 /sbin/dhclient -d -q -sf /usr/lib/NetworkManager/nm-dhcp-helper -pf /var/run/dhclient-wlan0.pid -lf /var/lib/NetworkManager/dhclient
단순히 호환성을 위해 이름이 남아 있으므로 사람들은 (근육 기억에 대한 동정) network-manager
과 같은 옛날 스타일의 명령을 사용할 수 있습니다 .sudo service network-manager restart