github.com/wallyworld/juju@v0.0.0-20161013125918-6cf1bc9d917a/cmd/jujud/main_nix.go (about)

     1  // Copyright 2014 Canonical Ltd.
     2  // Copyright 2014 Cloudbase Solutions
     3  // Licensed under the AGPLv3, see LICENCE file for details.
     4  
     5  // +build !windows
     6  
     7  package main
     8  
     9  import (
    10  	"os"
    11  
    12  	"github.com/juju/utils/featureflag"
    13  
    14  	"github.com/juju/juju/juju/osenv"
    15  )
    16  
    17  func init() {
    18  	featureflag.SetFlagsFromEnvironment(osenv.JujuFeatureFlagEnvKey)
    19  }
    20  
    21  func main() {
    22  	MainWrapper(os.Args)
    23  }