From 0a0da30ac974bc4156677e33df45a831aacfa71b Mon Sep 17 00:00:00 2001 From: Egor Duplensky Date: Sun, 5 Apr 2020 09:32:59 +0000 Subject: [PATCH] Set correct permissions (644) for systemd service file (#179) --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 57847c1..a6d4d0d 100644 --- a/makefile +++ b/makefile @@ -78,7 +78,7 @@ install: $(BIND)/$(NAME) @install -DZ $(RESD)/wsetup.sh -t $(DATADIR) @install -dZ $(DATADIR)/lang @install -DZ $(RESD)/lang/* -t $(DATADIR)/lang - @install -DZ $(RESD)/ly.service -t ${DESTDIR}/usr/lib/systemd/system + @install -DZ $(RESD)/ly.service -m 644 -t ${DESTDIR}/usr/lib/systemd/system installnoconf: $(BIND)/$(NAME) @echo "installing without the configuration file" @@ -88,7 +88,7 @@ installnoconf: $(BIND)/$(NAME) @install -DZ $(RESD)/wsetup.sh -t $(DATADIR) @install -dZ $(DATADIR)/lang @install -DZ $(RESD)/lang/* -t $(DATADIR)/lang - @install -DZ $(RESD)/ly.service -t ${DESTDIR}/usr/lib/systemd/system + @install -DZ $(RESD)/ly.service -m 644 -t ${DESTDIR}/usr/lib/systemd/system uninstall: @echo "uninstalling"