Commit 9b9dd1c
fix(rackula): daemon-reload before starting services on install and update
The install and update paths copy systemd unit files (rackula-api.service and the nginx.service.d drop-in) but never run systemctl daemon-reload before (re)starting. systemd keeps the previously-loaded units in memory, so a release that changes those units starts the services from the stale definitions. On a unit-changing update this leaves nginx and rackula-api down (226/NAMESPACE and 31/SYS) while the update still reports success; it also emits the 'changed on disk' warning. Reproduced on PVE 9.2 / Debian 13 unprivileged LXC. daemon-reload restores healthy startup and silences the warning.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: ggfevans <hi@gvns.ca>1 parent 2f050c4 commit 9b9dd1c
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| |||
0 commit comments