Skip to content

Commit c328ebd

Browse files
committed
.
1 parent ee7909a commit c328ebd

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/scripts/smoke-test-lib.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ check_single_execstart() {
149149
fi
150150
done
151151
if [ -z "$unit_file" ]; then
152-
return # check_unit_file already reported the absence
152+
warn "Skipping ExecStart check: no unit file found (check_unit_file already reported this)."
153+
return
153154
fi
154155
# Match only non-empty ExecStart= lines; bare 'ExecStart=' is a reset directive.
155156
count=$(grep -c '^ExecStart=[^[:space:]]' "$unit_file" 2>/dev/null || true)

package/Linux/gateway/rpm/postinst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ fi
88
if [ -d /run/systemd/system ]; then
99
systemctl daemon-reload
1010
/usr/bin/devolutions-gateway --config-init-only >/dev/null
11-
systemctl enable --now devolutions-gateway >/dev/null 2>&1
12-
systemctl restart devolutions-gateway >/dev/null 2>&1
11+
systemctl enable --now devolutions-gateway >/dev/null 2>&1 || true
12+
systemctl restart devolutions-gateway >/dev/null 2>&1 || true
1313
fi

package/Linux/gateway/rpm/prerm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ fi
1616
if [ -d /run/systemd/system ]; then
1717
systemctl stop devolutions-gateway >/dev/null 2>&1 || true
1818
systemctl disable devolutions-gateway >/dev/null 2>&1 || true
19-
fi
19+
fi

0 commit comments

Comments
 (0)