File tree Expand file tree Collapse file tree
package/Linux/gateway/rpm Expand file tree Collapse file tree Original file line number Diff line number Diff 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)
Original file line number Diff line number Diff line change 88if [ -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
1313fi
Original file line number Diff line number Diff line change 1616if [ -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
You can’t perform that action at this time.
0 commit comments