mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-13 18:44:29 +05:00
fix: stop/start dwc service when updating
This commit is contained in:
@@ -52,6 +52,18 @@ restart_klipper(){
|
||||
fi
|
||||
}
|
||||
|
||||
start_dwc(){
|
||||
status_msg "Starting DWC-for-Klipper-Socket Service ..."
|
||||
sudo systemctl start dwc
|
||||
ok_msg "DWC-for-Klipper-Socket Service started!"
|
||||
}
|
||||
|
||||
stop_dwc(){
|
||||
status_msg "Stopping DWC-for-Klipper-Socket Service ..."
|
||||
sudo systemctl stop dwc
|
||||
ok_msg "DWC-for-Klipper-Socket Service stopped!"
|
||||
}
|
||||
|
||||
start_moonraker(){
|
||||
if [ -e /etc/init.d/moonraker ]; then
|
||||
status_msg "Starting Moonraker Service ..."
|
||||
|
||||
Reference in New Issue
Block a user