Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
systemd unit: Adjust cache path and permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
taktv6 committed Apr 29, 2023
1 parent 8090993 commit e835f0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ DESCRIPTION := OctoRPKI: a RPKI validator
BUILDINFOS := ($(shell date +%FT%T%z)$(BUILDINFOSDET))
LDFLAGS := '-X main.version=$(OCTORPKI_VERSION) -X main.buildinfos=$(BUILDINFOS)'

OUTPUT_OCTORPKI := $(DIST_DIR)octorpki-$(OCTORPKI_VERSION)-$(GOOS)-$(ARCH)$(EXTENSION)
#OUTPUT_OCTORPKI := $(DIST_DIR)octorpki-$(OCTORPKI_VERSION)-$(GOOS)-$(ARCH)$(EXTENSION)
OUTPUT_OCTORPKI := octorpki

.PHONY: vet
vet:
Expand Down
3 changes: 2 additions & 1 deletion package/octorpki.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ After=network.target
Type=simple
EnvironmentFile=/etc/default/octorpki
WorkingDirectory=/usr/share/octorpki
ExecStart=/usr/bin/octorpki $OCTORPKI_ARGS
ExecStart=/usr/bin/octorpki -cache=/var/lib/octorpki/cache -output.sign=false

User=octorpki
Group=octorpki

Expand Down

0 comments on commit e835f0c

Please sign in to comment.