Commit 8b24b31
committed
fix(genebean): restart cage-tty1 on config changes
Upstream's cage module sets restartIfChanged = false, presumably to
avoid yanking an interactive desktop session out from under someone
mid `nixos-rebuild switch`. That caution doesn't apply to a kiosk -
confirmed on hardware (kiosk-entryway) that without this override, a
config change (e.g. a new dashboard URL) requires a manual `systemctl
restart cage-tty1` or a reboot to actually take effect, since the
switch itself silently leaves the old chromium/cage instance running.1 parent ad21005 commit 8b24b31
1 file changed
Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
32 | 43 | | |
33 | 44 | | |
0 commit comments