[Unit] Description=SAML passthrough for Keycloak Documentation=https://git.csclub.uwaterloo.ca/merenber/saml-passthrough Wants=apache2.service After=apache2.service [Service] Type=exec WorkingDirectory=/srv/saml-passthrough RuntimeDirectory=saml-passthrough DynamicUser=yes LoadCredential=idp.key:/srv/saml-passthrough/idp.key ExecStart=/srv/saml-passthrough/saml-passthrough -k "${CREDENTIALS_DIRECTORY}/idp.key" RestartSec=5 Restart=on-failure [Install] WantedBy=multi-user.target