From d906fe8c5d8f69732da2bcf81cb150e9b29d433d Mon Sep 17 00:00:00 2001 From: Thomas Ward Date: Sun, 19 Oct 2025 00:38:00 -0400 Subject: [PATCH] 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. --- docs/howto/admin/systemd.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/howto/admin/systemd.md b/docs/howto/admin/systemd.md index f1716d9..f5b30e7 100644 --- a/docs/howto/admin/systemd.md +++ b/docs/howto/admin/systemd.md @@ -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 @@ -71,8 +73,8 @@ The output should look like the following: :alt: Checking the status of the JupyterHub systemd service ``` -To override the `traefik` settings, create a new file under `/etc/systemd/system/traefik.service.d/override.conf` -and follow the same steps. +To override the `traefik` settings, create a new file under `/etc/systemd/system/traefik.service.d/override.conf` +(or use `sudo systemctl edit traefik.service`) and follow the same steps. ## References