Changeset 5462bab in Klonkt for scripts/klonkt-migrate-data.sh
- Timestamp:
- 07/31/2026 01:52:04 PM (6 weeks ago)
- Branches:
- main
- Children:
- f434294
- Parents:
- ccaa530
- File:
-
- 1 edited
-
scripts/klonkt-migrate-data.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
scripts/klonkt-migrate-data.sh
rccaa530 r5462bab 135 135 run "systemctl enable --now 'klonkt@$SLUG'" 136 136 137 step "Rewriting klonkt-update for the new layout" 138 # The installer generated an updater that restarts klonkt.service — which we 139 # just retired. Left alone it would keep updating the code while never 140 # restarting the real process: half old, half new, and a 500 with no obvious 141 # cause. Rewrite it so it restarts every klonkt@<slug> instead. 142 if [ -f "$KLONKT_DIR/scripts/klonkt-refresh-updater.sh" ]; then 143 run "KLONKT_DIR='$KLONKT_DIR' KLONKT_USER='$KLONKT_USER' KLONKT_DATA_ROOT='$DATA_ROOT' bash '$KLONKT_DIR/scripts/klonkt-refresh-updater.sh'" 144 else 145 say "WARNING: scripts/klonkt-refresh-updater.sh missing in this checkout." 146 say " Update the code and run it once by hand, or every klonkt-update" 147 say " from now on will update code WITHOUT restarting the process." 148 fi 149 137 150 step "Verifying" 138 151 if [ "$DRY" = 1 ]; then
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)