aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-16 15:55:20 +0300
committerCem Keylan <cem@ckyln.com>2020-09-16 15:55:20 +0300
commit79fafa3c6aa574f641d634fd3e136f29ec0ee9cf (patch)
tree2047c83784422790809db925811e6a50a971bc02 /Makefile
parentee006dbf0743bd3276ca3cdd1d6b5b563aa933f6 (diff)
downloadinit-79fafa3c6aa574f641d634fd3e136f29ec0ee9cf.tar.gz
respawn: add seperate shell utility instead of running while loops
Technically, these are the same shell commands, but since they are run by a separate shell, they are easier to predict and easier to kill.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fe893ad..be66946 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,8 @@ install: bin/shalt
mkdir -p ${DESTDIR}${CONFDIR} ${DESTDIR}${INITDIR} ${DESTDIR}${BINDIR}
cp bin/shalt ${DESTDIR}${BINDIR}/shalt
chmod 755 ${DESTDIR}${BINDIR}/shalt
+ cp contrib/respawn ${DESTDIR}${BINDIR}/respawn
+ chmod 755 ${DESTDIR}${BINDIR}/respawn
cp rc.lib rc.boot rc.shutdown ${DESTDIR}${INITDIR}
chmod 755 ${DESTDIR}${INITDIR}/rc.boot ${DESTDIR}${INITDIR}/rc.shutdown
cp rc.conf contrib/runit.boot contrib/getty.boot ${DESTDIR}${CONFDIR}