Tidy up runit service scripts (#479)

* Fix the script installation path (install everything only on /etc/sv/ly)

* Update the runit scripts to get the TTY value from the /etc/ly/config.ini file

* Update readme.md
This commit is contained in:
Bruno Rodríguez
2023-06-14 21:42:01 +02:00
committed by GitHub
parent 8c4ba3bd40
commit a8ea5d3e99
5 changed files with 11 additions and 12 deletions

View File

@@ -100,7 +100,6 @@ installopenrc:
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:
@@ -111,6 +110,7 @@ uninstall:
@rm -f ${DESTDIR}/usr/lib/systemd/system/ly.service
@rm -f ${DESTDIR}/etc/pam.d/ly
@rm -f ${DESTDIR}/etc/init.d/${NAME}
@rm -rf ${DESTDIR}/etc/sv/ly
clean:
@echo "cleaning"