feature: Adding service run command

This commit is contained in:
mlsmaycon
2021-06-19 14:55:45 +02:00
parent 6465e2556a
commit 41b50a08d4
6 changed files with 96 additions and 11 deletions

View File

@@ -36,6 +36,8 @@ func init() {
rootCmd.AddCommand(addPeerCmd)
rootCmd.AddCommand(upCmd)
rootCmd.AddCommand(signalCmd)
rootCmd.AddCommand(serviceCmd)
serviceCmd.AddCommand(runCmd) // run is a subcommand of service
}
// SetupCloseHandler handles SIGTERM signal and exits with success