Skip to content

Commit

Permalink
Fixed #43, added new make install-runit-artix command to install ru…
Browse files Browse the repository at this point in the history
…nit service into `/etc/runit/sv/` folder.
  • Loading branch information
tvrzna committed May 17, 2021
1 parent b4ff9e8 commit b48962c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ install-runit:
@install -DZ res/runit-run -m 755 -T ${DESTDIR}/etc/sv/${DISTFILE}/run
@echo "Done"

install-runit-artix:
@echo "Installing Artix runit service..."
@install -DZ res/runit-run -m 755 -T ${DESTDIR}/etc/runit/sv/${DISTFILE}/run
@echo "Done"

install-systemd:
@echo "Installing systemd service..."
@install -DZ res/systemd-service -m 644 -T ${DESTDIR}/usr/lib/systemd/system/${DISTFILE}.service
Expand All @@ -91,6 +96,7 @@ install-all: install install-manual install-pam
uninstall:
@echo "Uninstalling..."
@rm -rf ${DESTDIR}/etc/sv/${DISTFILE}
@rm -rf ${DESTDIR}/etc/runit/sv/${DISTFILE}
@rm -f ${DESTDIR}/usr/lib/systemd/system/${DISTFILE}.service
@rm -f ${DESTDIR}/etc/init.d/${DISTFILE}
@rm -f ${DESTDIR}/usr/share/man/man1/emptty.1.gz
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,12 @@ __NOTE:__ If any issue starts to appear and you want to report it, ensure you do
- `make install-all` to install binary, pam module and man page.
---
- `make install-config` to create default conf file in /etc/emptty/.
- `make install-runit` to install runit service
- `make install-openrc` to install openrc service
- `make install-s6` to install s6 service
- `make install-runit` to install runit service.
- `make install-runit-artix` to install runit to Artix service folder.
- `make install-openrc` to install openrc service.
- `make install-s6` to install s6 service.
- `make install-systemd` to install systemd service.
- `make install-motd-gen` to create default motd-gen.sh in /etc/emptty/
- `make install-motd-gen` to create default motd-gen.sh in /etc/emptty/.
---
- `make uninstall` to remove emptty from your system
---
Expand Down

0 comments on commit b48962c

Please sign in to comment.