Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
pyama86 committed Feb 18, 2019
1 parent 0f70bf0 commit 5997313
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,16 @@ test: ## Run test

build: ## Build server
$(GO) build -ldflags "-s -w -X main.goversion=$(GOVERSION)" -o wazuh-notifier

deps: ## Installing dependencies for development
@echo "$(INFO_COLOR)==> $(RESET)$(BOLD)Installing Dependencies$(RESET)"
go get golang.org/x/lint/golint
go get github.com/goreleaser/goreleaser
go get -u github.com/linyows/git-semv/cmd/git-semv

goreleaser: ## Upload to Github releases without token check
@echo "$(INFO_COLOR)==> $(RESET)$(BOLD)Releasing for Github$(RESET)"
GOVERSION=$(GOVERSION) goreleaser --rm-dist --skip-validate

release:
git semv minor --pre --build --bump
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func newNotifier(c *wazuh_notifier.Config) Notifier {
return nil
}
func main() {
path := flag.String("config", "/var/ossec/etc/wazuh_slack.toml", "config file path")
path := flag.String("config", "/var/ossec/etc/wazuh-notifier.toml", "config file path")
flag.Parse()
config, err := wazuh_notifier.NewConfig(*path)
if err != nil {
Expand Down

0 comments on commit 5997313

Please sign in to comment.