We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee41088 commit 2d7f56bCopy full SHA for 2d7f56b
swiftwave_service/cmd/update.go
@@ -40,6 +40,7 @@ var updateCmd = &cobra.Command{
40
if isUpdated {
41
fmt.Println("Swiftwave has been updated successfully")
42
fmt.Println("Trying to restart the service...")
43
+ _ = exec.Command("systemctl", "daemon-reload").Run()
44
_ = exec.Command("systemctl", "restart", "swiftwave.service").Run()
45
os.Exit(0)
46
} else {
0 commit comments