3 Commits

Author SHA1 Message Date
Yuvi
96550b678a Merge pull request #1048 from teward/patch-1
Update systemd.md with clearer override instructions
2025-10-26 12:21:28 -07:00
pre-commit-ci[bot]
1bbbeacc06 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-10-19 04:38:21 +00:00
Thomas Ward
d906fe8c5d Update systemd.md with clearer override instructions
Clarify instructions for overriding traefik settings.

SystemD has inbuilt ways to *create* the override files without users having to create the files themselves.

To that end, just using `sudo systemctl edit [SERVICENAME].service` will work to create the service's override files.
2025-10-19 00:38:00 -04:00

View File

@@ -38,6 +38,8 @@ these namespacing settings might be a bit too strict and prevent users from acce
To override the `jupyterhub` settings, it is possible to provide a custom `/etc/systemd/system/jupyterhub.service.d/override.conf` file. To override the `jupyterhub` settings, it is possible to provide a custom `/etc/systemd/system/jupyterhub.service.d/override.conf` file.
You can create this file with `sudo systemctl edit jupyterhub.service`
Here is an example for the content of the file: Here is an example for the content of the file:
```bash ```bash
@@ -72,7 +74,7 @@ The output should look like the following:
``` ```
To override the `traefik` settings, create a new file under `/etc/systemd/system/traefik.service.d/override.conf` To override the `traefik` settings, create a new file under `/etc/systemd/system/traefik.service.d/override.conf`
and follow the same steps. (or use `sudo systemctl edit traefik.service`) and follow the same steps.
## References ## References