1 Commits

Author SHA1 Message Date
fdff324081 Fix runit/s6 calamares chroot service activation 2024-08-10 17:21:06 +02:00

View File

@@ -22,6 +22,8 @@ cmds_dinit() {
}
cmds_runit() {
mkdir -p /run/runit
ln -s /etc/runit/runsvdir/current /run/runit/service 2>/dev/null
COMMANDS[start]="runsv /etc/runit/sv/${SV}"
COMMANDS[stop]="sv stop /etc/runit/sv/${SV}"
COMMANDS[enable]="ln -s /etc/runit/sv/${SV} /run/runit/service/"
@@ -84,3 +86,5 @@ case "${ACTION}" in
help) usage; exit 0 ;;
*) usage; exit 1 ;;
esac
[ ${INIT} == s6 ] && s6-db-reload