Example systemd file #612
lfield
started this conversation in
Show and tell
Replies: 2 comments
-
I built my own which seems to work fine. Just as a warning I'm not a systemd expert so the service might not be perfect.
Also drop this somewhere in your systemctl --user is-active --quiet oidc-agent.service && {
export OIDC_SOCK="$XDG_RUNTIME_DIR/oidc-agent.socket"
export OIDCD_PID="$(systemctl --user show --property MainPID --value oidc-agent.service)"
} || {
unset OIDC_SOCK
unset OIDCD_PID
} Logs should be written to systemd and syslog. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is what I am using.
The add-keys.sh script is used as a hook to added the keys for the different deployments. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Please could you add an example systemd file. Ideally this would also contain logging to a log file.
Beta Was this translation helpful? Give feedback.
All reactions