1
0
Fork 0

rename user service

This commit is contained in:
Luca Bilke 2024-01-04 14:00:15 +01:00
parent 2125b11cd2
commit 9704d2be5d
2 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ enable_services() {
info "Installing user service service..."
target="/etc/sv/runsvdir-${username}"
mkdir -p "$(dirname "$target")"
sed "s/<U>/$username/" "${SCRIPT_DIR}/userservice.sh" >"$target/run"
sed "s/<U>/$username/" "${SCRIPT_DIR}/runsvdir-user" >"$target/run"
[ ! -L "/var/service/$(basename "$target")" ] &&
ln -s "$target" "/var/service/"
chmod 755 "$target"