mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 09:20:20 +08:00
Update install_cockpit.sh
This commit is contained in:
parent
6388003629
commit
dddeed982b
@ -172,7 +172,7 @@ Set_Repository() {
|
||||
Restart_Cockpit(){
|
||||
echo "$echo_prefix_cockpit Restart Cockpit"
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable cockpit 2> /dev/null
|
||||
sudo systemctl enable cockpit.socket 2> /dev/null
|
||||
sudo systemctl restart cockpit.socket 2> /dev/null
|
||||
sudo systemctl restart cockpit || exit 1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user