Make it easy to install ly on runit systems e.g. void (#431)

* Make it easy to install ly on runit systems e.g. void

* Tidy up runit section in readme

Co-authored-by: Daniel Haarhoff <daniel@rknt.de>
This commit is contained in:
Daniel Haarhoff
2022-08-28 11:53:58 +01:00
committed by GitHub
parent 99edd83429
commit 5db09ce104
5 changed files with 57 additions and 0 deletions

View File

@@ -98,6 +98,11 @@ installopenrc:
@echo "installing openrc service"
@install -DZ $(RESD)/ly-openrc -m 755 -T ${DESTDIR}/etc/init.d/${NAME}
installrunit:
@echo "installing runit service"
@install -dZ ${DESTDIR}/etc/sv/ly-runit-service
@install -DZ $(RESD)/ly-runit-service/* -t ${DESTDIR}/etc/sv/ly
uninstall:
@echo "uninstalling"
@rm -rf ${DESTDIR}/etc/ly