This commit is contained in:
tremor021 2025-06-10 18:46:09 +02:00
parent ca388a8320
commit 9bb41e2b79

View File

@ -49,7 +49,7 @@ EOF
sed -i -e 's/\$/\$\$/g' /opt/tinyauth/.env
cat <<EOF >/etc/init.d/tinyauth
cat <<'EOF' >/etc/init.d/tinyauth
#!/sbin/openrc-run
description="Tinyauth Service"
@ -61,9 +61,9 @@ pidfile="/var/run/tinyauth.pid"
start_pre() {
if [ -f "/opt/tinyauth/.env" ]; then
while IFS= read -r line || [ -n "${line:-}" ]; do
[ -z "${line:-}" ] && continue
case "${line:-}" in
while IFS= read -r line || [ -n "$line" ]; do
[ -z "$line" ] && continue
case "$line" in
'#'*)
continue
;;