Clean up flags vs envvars

This commit is contained in:
Jakob Borg
2014-10-06 17:55:54 +02:00
parent 9b11609b63
commit 214f18cbfd
3 changed files with 48 additions and 50 deletions

View File

@@ -41,6 +41,7 @@ const (
func monitorMain() {
os.Setenv("STNORESTART", "yes")
os.Setenv("STMONITORED", "yes")
l.SetPrefix("[monitor] ")
args := os.Args