mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
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:
@@ -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.
|
||||
|
||||
You can create this file with `sudo systemctl edit jupyterhub.service`
|
||||
|
||||
Here is an example for the content of the file:
|
||||
|
||||
```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`
|
||||
and follow the same steps.
|
||||
(or use `sudo systemctl edit traefik.service`) and follow the same steps.
|
||||
|
||||
## References
|
||||
|
||||
|
||||
Reference in New Issue
Block a user