Commit 0db2a0a
committed
fix(status): probe system-level systemd unit when user-level unavailable
When the gateway runs under a system-level systemd unit (not user-level),
systemctl --user is unavailable and the status check reports
"systemd user services unavailable" as a false positive.
Instead of relying on INVOCATION_ID detection, directly probe
system-level systemctl when user-level fails. If the unit exists
and responds at system level, return the actual status.
Fixes #850941 parent 221f534 commit 0db2a0a
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1080 | 1080 | | |
1081 | 1081 | | |
1082 | 1082 | | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
1083 | 1109 | | |
1084 | 1110 | | |
1085 | 1111 | | |
| |||
0 commit comments