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.
This commit is contained in:
Thomas Ward
2025-10-19 00:38:00 -04:00
committed by GitHub
parent 27cf17d68c
commit d906fe8c5d

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