From fc69b40befa32e4fb7ba29cdad859ef185ce6b20 Mon Sep 17 00:00:00 2001 From: MadcowOG Date: Mon, 11 Jul 2022 23:46:14 -0700 Subject: [PATCH 1/2] independent install for each service, and documentation to accomodate. --- makefile | 5 ++++- readme.md | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index c086a28..80e256c 100644 --- a/makefile +++ b/makefile @@ -89,9 +89,12 @@ 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 -m 644 -t ${DESTDIR}/usr/lib/systemd/system @install -DZ $(RESD)/pam.d/ly -m 644 -t ${DESTDIR}/etc/pam.d +installsystemd: + @echo "installing systemd service" + @install -DZ $(RESD)/ly.service -m 644 -t ${DESTDIR}/usr/lib/systemd/system + installopenrc: @echo "installing openrc service" @install -DZ $(RESD)/ly-openrc -m 755 -T ${DESTDIR}/etc/init.d/${NAME} diff --git a/readme.md b/readme.md index 1b1a70f..87f0142 100644 --- a/readme.md +++ b/readme.md @@ -74,7 +74,7 @@ sudo make run Install Ly and the provided systemd service file ``` -sudo make install +sudo make install installsystemd ``` Enable the service From fbcceb4689fbb045c8213172ec683acd24f56370 Mon Sep 17 00:00:00 2001 From: MadcowOG Date: Sat, 16 Jul 2022 02:14:18 -0700 Subject: [PATCH 2/2] Oops removed service install from install. Also added tiny clarification of installing ly within install and installnoconf. --- makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/makefile b/makefile index 80e256c..6b9177d 100644 --- a/makefile +++ b/makefile @@ -70,7 +70,7 @@ leakgrind: $(BIND)/$(NAME) @less valgrind.log install: $(BIND)/$(NAME) - @echo "installing" + @echo "installing ly" @install -dZ ${DESTDIR}/etc/ly @install -DZ $(BIND)/$(NAME) -t ${DESTDIR}/usr/bin @install -DZ $(RESD)/config.ini -t ${DESTDIR}/etc/ly @@ -78,11 +78,10 @@ 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 -m 644 -t ${DESTDIR}/usr/lib/systemd/system @install -DZ $(RESD)/pam.d/ly -m 644 -t ${DESTDIR}/etc/pam.d installnoconf: $(BIND)/$(NAME) - @echo "installing without the configuration file" + @echo "installing ly without the configuration file" @install -dZ ${DESTDIR}/etc/ly @install -DZ $(BIND)/$(NAME) -t ${DESTDIR}/usr/bin @install -DZ $(RESD)/xsetup.sh -t $(DATADIR)