2021-12-29 00:36:47 -05:00
|
|
|
[Unit]
|
|
|
|
Description=SAML passthrough for Keycloak
|
|
|
|
Documentation=https://git.csclub.uwaterloo.ca/merenber/saml-passthrough
|
2022-01-11 23:41:58 -05:00
|
|
|
Wants=apache2.service
|
2021-12-29 00:36:47 -05:00
|
|
|
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"
|
2022-01-11 23:41:58 -05:00
|
|
|
RestartSec=5
|
|
|
|
Restart=on-failure
|
2021-12-29 00:36:47 -05:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|