mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
Update install_cockpit.sh
This commit is contained in:
parent
ed5da5d504
commit
a79b6a3013
1 changed files with 2 additions and 1 deletions
|
@ -172,6 +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 restart cockpit.socket 2> /dev/null
|
||||
sudo systemctl restart cockpit || exit 1
|
||||
}
|
||||
|
@ -400,4 +401,4 @@ if systemctl cat packagekit > /dev/null 2>&1; then
|
|||
sudo systemctl restart packagekit
|
||||
else
|
||||
echo "no packagekit"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue