mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-11 19:45:06 +00:00
feat(serve): hot-reload service repos on a timer without a restart
Add serve.services_refresh_interval; refresh pulls the repos and re-imports only the changed services, staging any with active jobs until they finish. Report skipped/broken services in the log and on /api/services.
This commit is contained in:
@@ -550,7 +550,7 @@ unshackle util COMMAND [ARGS]...
|
||||
unshackle util refresh-services
|
||||
```
|
||||
|
||||
Force a refresh (git pull / hard reset) of all service repos configured under `directories.services`.
|
||||
Force a refresh (git pull / hard reset) of all service repos configured under `directories.services`. This updates the clones on disk. A server that is already running reloads the changed services through `POST /api/maintenance/refresh-services` or `serve.services_refresh_interval` instead.
|
||||
|
||||
### `util crop PATH ASPECT`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user