aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs6rc
Commit message (Collapse)AuthorAgeFilesLines
* debug the --clean featureLaurent Bercot40 hours1-1/+4
|
* Add -c|--clean option to s6-rc (untested)Laurent Bercot7 days2-0/+43
|
* Prepare for 0.7.0.0; lots of changes!Laurent Bercot2026-06-142-9/+10
| | | | | | | | | | | | | | | - s6-rc-bundle deleted. Changing bundles without recompiling is not supported anymore. (It works, but it incentivizes poor workflows; it is better to handle stuff at the source level and recompile when in doubt, that's what s6-frontend does.) - new db format, need to recompile and use s6-rc-format-upgrade on new live db - support for the reload-signal file in service directories - new reload scripts for oneshots (which is why the db format has changed) - new "s6-rc reload" command, calling s6-svc -l on longruns (which makes use of reload-signal, HUP by default) and the reload script on oneshots - the live state now tracks when a service has been explicitly brought up as opposed to by pulled by dependencies. Nothing uses the feature for now but now the tech is there for an auto-stop-if-unneeded feature.
* Prepare for 0.6.2.0; implement s6-rc reloadLaurent Bercot2026-06-091-0/+1
| | | | Also support reload-signal in the service definition directory.
* Support flag-timeout-killpgLaurent Bercot2026-04-231-0/+1
| | | | Also add the missing support for flag-newpidns when compiling a db
* BigfuxLaurent Bercot2026-01-201-1/+1
|
* Modernize s6-rc-db as well, fix tiny bugLaurent Bercot2026-01-132-7/+8
|
* Separate libs6rcrepoLaurent Bercot2025-10-2236-2043/+0
|
* add getserviceflags and use it in fillset; add some docLaurent Bercot2025-10-215-38/+88
|
* Move all string comparison operations into skalibsLaurent Bercot2025-10-095-17/+6
|
* Add s6-rc-set-install, repodefs pageLaurent Bercot2025-10-064-1/+88
|
* Do not delete old store before the sync succeedsLaurent Bercot2025-10-054-10/+15
|
* Add repo/set touching to avoid extra compilesLaurent Bercot2025-10-013-0/+72
|
* Add stores, edit init and syncLaurent Bercot2025-10-013-9/+78
|
* More progress: updated sync, nominal fixLaurent Bercot2025-09-2410-143/+268
|
* Add s6rc_repo_fixsetLaurent Bercot2025-09-225-5/+119
|
* Support bundles in changestate, various refactorsLaurent Bercot2025-09-188-25/+119
|
* Add s6-rc-set-changestate. FINALLY.Laurent Bercot2025-09-157-45/+52
|
* Implement badsub, refactor moveservices, get ready for enable/disableLaurent Bercot2025-09-158-43/+57
|
* Reorganize for 4 subs; add makesvlist, start badsubLaurent Bercot2025-09-089-13/+145
|
* Almost got a full sync, still need the adjustment heuristicLaurent Bercot2025-08-195-15/+25
|
* Major refactors, add makesetbundle, refcompile/setcompile, etc.Laurent Bercot2025-08-0814-203/+619
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Next additions: better bundle management and autobuildLaurent Bercot2025-08-0514-67/+244
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add makebundle, moveservices, defcompileLaurent Bercot2025-08-044-0/+162
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Refactor to add listalldepsLaurent Bercot2025-08-044-71/+89
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More utilities: s6rc_nlto0, s6rc_repo_set_listdepsLaurent Bercot2025-08-043-0/+112
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* First fixesLaurent Bercot2025-08-042-5/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* first draft of s6rc_repo_set_compileLaurent Bercot2025-08-043-11/+138
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-rc-set-new, refactors, additions, etc.Laurent Bercot2025-07-035-19/+80
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-rc-repo-init: better error messagesLaurent Bercot2025-07-021-6/+58
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Finish s6-rc-repo-initLaurent Bercot2025-07-023-0/+156
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6rc_live_state functionsLaurent Bercot2025-06-183-0/+55
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Support flag-newpidnsLaurent Bercot2024-10-041-0/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Create instance subdir when copying templateLaurent Bercot2024-10-021-0/+5
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 0.5.5.0; add s6rc_livedir_canonLaurent Bercot2024-07-052-0/+26
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 0.5.4.2; use open3() safe wrapperLaurent Bercot2023-07-061-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Remove debug instructionsLaurent Bercot2023-06-201-29/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 0.5.4.1; ensure livedir always has a lock fileLaurent Bercot2023-02-181-0/+5
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add instance support to s6-rc-updateLaurent Bercot2023-02-081-1/+59
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Update s6 dep; simplify servicedir block/unblockLaurent Bercot2023-02-062-29/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Don't hard depend on PATH_MAX; change servicedir file listLaurent Bercot2023-01-312-3/+5
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add support for s6-instanceLaurent Bercot2022-12-221-0/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Open the shared locks O_RDONLY, duh.Laurent Bercot2022-11-101-12/+13
| | | | | | | Instead of writing workarounds for EROFS and chattr +i and still failing to properly address other cases. Noob. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Change s6rc_servicedir to types defined in s6/servicedir.hLaurent Bercot2022-08-184-57/+37
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* ... but do it with the correct logicLaurent Bercot2022-07-281-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Allow opening the db on chattr +iLaurent Bercot2022-07-281-1/+1
| | | | | | This is done by ignoring EPERM on open() just like we ignore EROFS. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 0.5.3.2; adapt to skalibs-2.12.0.0Laurent Bercot2022-06-082-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add lock-fd supportLaurent Bercot2021-09-261-0/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adapt to s6-2.11.0.0Laurent Bercot2021-09-024-4/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Update dependencies, adjust to skalibs-2.11.0.0 apisLaurent Bercot2021-08-101-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>