diff --git a/Makefile b/Makefile index c5c7108..17a0597 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ install: sudo mv kas /usr/local/bin/kas setup: - sudo install -m 0644 kas.service /etc/systemd/system/kas.service - sudo install -m 0700 -d /etc/kas - sudo install -m 0600 kas.yaml /etc/kas/kas.yaml + sudo install -m 0644 -g daemon -o nobody kas.service /etc/systemd/system/kas.service + sudo install -m 0755 -g daemon -o nobody -d /etc/kas + sudo install -m 0644 -g daemon -o nobody kas.yaml /etc/kas/kas.yaml sudo systemctl enable kas.service