summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.go b/main.go
index 0964846..fd3884a 100644
--- a/main.go
+++ b/main.go
@@ -24,6 +24,10 @@ func main() {
os.Exit(0)
}
+ if argv.Daemon {
+ log.DaemonMode(true)
+ }
+
readConfigFile("droplets")
log.Info("create cluser for", argv.Hosts)