Skip to content

Commit

Permalink
Rename icinga-notifications-daemon -> icinga-notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab committed Jun 18, 2024
1 parent fb1264c commit d126548
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /src/icinga-notifications
RUN mkdir bin
RUN --mount=type=cache,target=/go/pkg/mod \
--mount=type=cache,target=/root/.cache/go-build \
go build -o bin/ ./cmd/icinga-notifications-daemon
go build -o bin/ ./cmd/icinga-notifications

RUN mkdir bin/channel
RUN --mount=type=cache,target=/go/pkg/mod \
Expand All @@ -17,7 +17,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \

FROM docker.io/library/alpine

COPY --from=build /src/icinga-notifications/bin/icinga-notifications-daemon /usr/bin/icinga-notifications-daemon
COPY --from=build /src/icinga-notifications/bin/icinga-notifications /usr/bin/icinga-notifications
COPY --from=build /src/icinga-notifications/bin/channel /usr/libexec/icinga-notifications/channel

RUN apk add tzdata
Expand All @@ -28,4 +28,4 @@ RUN adduser -u 1000 -H -D -G $username $username
USER $username

EXPOSE 5680
CMD ["/usr/bin/icinga-notifications-daemon", "--config", "/etc/icinga-notifications/config.yml"]
CMD ["/usr/bin/icinga-notifications", "--config", "/etc/icinga-notifications/config.yml"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ VALUES

Then, you can launch the daemon with the following command.
```go
go run ./cmd/icinga-notifications-daemon --config config.yml
go run ./cmd/icinga-notifications --config config.yml
```

## License
Expand Down
File renamed without changes.

0 comments on commit d126548

Please sign in to comment.