independent install for each service, and documentation to accomodate.

This commit is contained in:
MadcowOG 2022-07-11 23:46:14 -07:00
parent 3a44a8f833
commit fc69b40bef
2 changed files with 5 additions and 2 deletions

View File

@ -89,9 +89,12 @@ installnoconf: $(BIND)/$(NAME)
@install -DZ $(RESD)/wsetup.sh -t $(DATADIR) @install -DZ $(RESD)/wsetup.sh -t $(DATADIR)
@install -dZ $(DATADIR)/lang @install -dZ $(DATADIR)/lang
@install -DZ $(RESD)/lang/* -t $(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 @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: installopenrc:
@echo "installing openrc service" @echo "installing openrc service"
@install -DZ $(RESD)/ly-openrc -m 755 -T ${DESTDIR}/etc/init.d/${NAME} @install -DZ $(RESD)/ly-openrc -m 755 -T ${DESTDIR}/etc/init.d/${NAME}

View File

@ -74,7 +74,7 @@ sudo make run
Install Ly and the provided systemd service file Install Ly and the provided systemd service file
``` ```
sudo make install sudo make install installsystemd
``` ```
Enable the service Enable the service