mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-02 13:03:56 +01:00
fcea3c99d4
* move setup-key to root command * up will check login and start service * update tests to reflect new UP capabilities * display client IP * removed unused argument * install service if not installed * update post-install and add pre remove script * improve log messages * handle service status failures and install service when needed * removing unused files * update documentation and description * add version command * update service lib version * using lib constant for not installed services * match version from goreleaser * fix: graceful shutdown * stop only if service is running * add logs initialization to service controller commands Co-authored-by: braginini <bangvalo@gmail.com>
17 lines
205 B
Go
17 lines
205 B
Go
package main
|
|
|
|
import (
|
|
"github.com/wiretrustee/wiretrustee/client/cmd"
|
|
"os"
|
|
)
|
|
|
|
var version = "development"
|
|
|
|
func main() {
|
|
|
|
cmd.Version = version
|
|
if err := cmd.Execute(); err != nil {
|
|
os.Exit(1)
|
|
}
|
|
}
|