The image creates SWW_STATE_DIR when it is missing (closes #337)
check / check (push) Waiting to run
check / check (push) Waiting to run
Before waf starts, share/sww.run makes SWW_STATE_DIR if it is missing, gives it to sww:sww and sets its mode to 0700. A setting that is not an absolute path, or a SWW_STATE_DIR_FILE that cannot be read, still changes nothing. script/example-app now checks that a waf container whose SWW_STATE_DIR does not exist becomes healthy with the directory made for sww, mode 0700. Model: opus-5-5
This commit is contained in:
1 parent
b93bad5842
commit
82adb13a0d
6 files changed
+40
-32
No files matched your search
+2
-1
@@ -19,7 +19,8 @@ way.
|
||||
- The service directory `/etc/service/sww`, with the `run` script
|
||||
`share/sww.run`.
|
||||
- `/var/lib/sww` for `waf`'s state files, and `/etc/sww/rules.d` with the
|
||||
default rule file `share/rules.d/00-default.rules`.
|
||||
default rule file `share/rules.d/00-default.rules`. The `run` script makes
|
||||
`SWW_STATE_DIR` when it is missing.
|
||||
- `EXPOSE 8080`, and the `HEALTHCHECK` that runs `sww healthcheck`.
|
||||
|
||||
## Pins
|
||||
|
||||
Reference in new issue
Block a user