diff --git a/swiftwave_service/cmd/update.go b/swiftwave_service/cmd/update.go index e4e7abfd29..6acd3a8589 100644 --- a/swiftwave_service/cmd/update.go +++ b/swiftwave_service/cmd/update.go @@ -40,6 +40,7 @@ var updateCmd = &cobra.Command{ if isUpdated { fmt.Println("Swiftwave has been updated successfully") fmt.Println("Trying to restart the service...") + _ = exec.Command("systemctl", "daemon-reload").Run() _ = exec.Command("systemctl", "restart", "swiftwave.service").Run() os.Exit(0) } else {