mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-30 16:39:33 +01:00
docs(wiki): the review items of #845 that go on top
The drop-in is the right place because the installer and `codeman service install` rewrite the unit file and drop CODEMAN_ALLOWED_HOSTS, not because it sits outside the checkout. The unit of a named instance is named. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
d466e5c3bf
commit
f109bdc23a
1 file changed
+9
-4
@@ -208,7 +208,9 @@ Environment="CODEMAN_ALLOWED_HOSTS=codeman.example.com"
|
||||
|
||||
If the service already has allowed hosts, include them in the same comma-separated
|
||||
value. If you already set the variable through an `EnvironmentFile=`, update that
|
||||
file. For a named Codeman instance, use its systemd unit name in both commands.
|
||||
file. For a named instance the unit is `codeman-web-<instance>.service` (for example
|
||||
`codeman-web-beta.service`; `CODEMAN_INSTANCE=beta codeman service status` prints it).
|
||||
Use that name in both commands.
|
||||
|
||||
Save the drop-in and restart Codeman:
|
||||
|
||||
@@ -216,9 +218,12 @@ Save the drop-in and restart Codeman:
|
||||
systemctl --user restart codeman-web.service
|
||||
```
|
||||
|
||||
The drop-in lives outside the app checkout and persists across normal Codeman
|
||||
updates. Open the proxy URL and attach to a terminal to check both the page and the
|
||||
WebSocket connection.
|
||||
Re-running the installer or `codeman service install` rewrites `codeman-web.service`
|
||||
itself and does not carry `CODEMAN_ALLOWED_HOSTS` over, so keep the setting in the
|
||||
drop-in (`~/.config/systemd/user/codeman-web.service.d/override.conf`), not in the unit
|
||||
file. Installs, updates and `install.sh uninstall` leave that folder alone, so delete it
|
||||
by hand if you remove Codeman. Open the proxy URL and attach to a terminal to check both
|
||||
the page and the WebSocket connection.
|
||||
|
||||
### Mounting under a sub-path
|
||||
|
||||
|
||||
Reference in new issue
Block a user