-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
For some reason if I start the service with systemctl, it hangs.
sudo systemctl restart ondemand-dexAnd at the same time it looks as inactive.
● ondemand-dex.service - OnDemand Dex - A federated OpenID Connect provider packaged for OnDemand
Loaded: loaded (/usr/lib/systemd/system/ondemand-dex.service; enabled; vendor preset: disabled)
Active: inactive (dead)This is the service.
# /usr/lib/systemd/system/ondemand-dex.service
[Unit]
Description=OnDemand Dex - A federated OpenID Connect provider packaged for OnDemand
After=network-online.target multi-user.target
Wants=network-online.target
[Service]
SyslogIdentifier=ondemand-dex
WorkingDirectory=/usr/share/ondemand-dex
ExecStart=/usr/sbin/ondemand-dex serve /etc/ood/dex/config.yaml
User=ondemand-dex
Group=ondemand-dex
[Install]
WantedBy=multi-user.targetHowever, this works seamlessly (without the need to put in the background as I do, indeed).
sudo -u ondemand-dex /usr/sbin/ondemand-dex serve /etc/ood/dex/config.yaml >> /var/log/ondemand/dex.log 2>&1 &Specifics
Linux controller0.flak.test 4.18.0-553.58.1.el8_10.x86_64 #1 SMP Thu Jun 26 15:50:39 UTC 2025 x86_64 x86_64 x86_64 GNU/LinuxRocky Linux release 8.10 (Green Obsidian)
Metadata
Metadata
Assignees
Labels
No labels