aboutsummaryrefslogtreecommitdiff
path: root/install-root.sh
diff options
context:
space:
mode:
authorDuncan Overbruck <mail@duncano.de>2019-07-21 16:44:01 +0200
committerDuncan Overbruck <mail@duncano.de>2019-07-21 16:44:01 +0200
commitf90fd2faf3ebafa075f7d5d6f1ca9b9a84519362 (patch)
tree6d0be385afe7f9a4d8f13f841e58a32063abd0cd /install-root.sh
parent77821ca8e62f646df2fc4257b97d03461c8fa6cc (diff)
downloaddotfiles-f90fd2faf3ebafa075f7d5d6f1ca9b9a84519362.tar.gz
install-root: install files instead of linking
Diffstat (limited to 'install-root.sh')
-rwxr-xr-xinstall-root.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/install-root.sh b/install-root.sh
index f07dbe7..95ee3e2 100755
--- a/install-root.sh
+++ b/install-root.sh
@@ -1,3 +1,6 @@
#!/bin/sh
-ln -sf "${PWD}/sv/runsvdir-duncan" /etc/sv
+install -d /etc/sv/runsvdir-duncan
+install -m755 sv/runsvdir-duncan/run /etc/sv/runsvdir-duncan/run
+install -m755 sv/runsvdir-duncan/finish /etc/sv/runsvdir-duncan/finish
+ln -sf /run/runit/supervise.runsvdir-duncan /etc/sv/runsvdir-duncan/supervise