Fixed symlinks for services (again) since system isnt running during install we dont use /var/service

This commit is contained in:
Dionysus 2024-02-13 01:08:58 -05:00
parent dac99fba9c
commit b283f82d9a
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
1 changed files with 3 additions and 3 deletions

6
vps
View File

@ -57,9 +57,9 @@ setup_chroot() {
echo "proc /proc proc defaults,hidepid=2 0 0" >> /etc/fstab
mount -o remount /proc
ln -s /etc/sv/socklog-unix/ /var/service/
ln -s /etc/sv/nanoklogd/ /var/service/
ln -s /etc/sv/dropbear/ /var/service/
ln -s /etc/sv/socklog-unix/ /etc/runit/runsvdir/default/ # We use this instead of /var/service because the system is not currently running
ln -s /etc/sv/nanoklogd/ /etc/runit/runsvdir/default/
ln -s /etc/sv/dropbear/ /etc/runit/runsvdir/default/
ln -s /usr/share/zoneinfo/$TIMEZONE /etc/localtime
hwclock --systohc