diff --git a/scripts/case2-unit.sh b/scripts/case2-unit.sh index bf5097abb..d8a1aae18 100755 --- a/scripts/case2-unit.sh +++ b/scripts/case2-unit.sh @@ -456,7 +456,7 @@ render() { local add="User=$USER_NAME\nGroup=$GROUP\n${HARDENING//$'\n'/\\n}\n" [ "$kind" != webui ] || add="$add${CAPS//$'\n'/\\n}\n" if [ "$kind" = bus ] && [ "$PROXY" = 1 ]; then - text="$(printf '%s\n' "$text" | sed "/^Description=/a Wants=$PROXY_UNIT\\nAfter=$PROXY_UNIT")" + text="$(printf '%s\n' "$text" | sed "/^Description=/a Wants=$PROXY_UNIT")" fi # The added lines go at the end of [Service], before its trailing blank # lines. In [Install], WantedBy=multi-user.target replaces