17 lines
456 B
SYSTEMD
17 lines
456 B
SYSTEMD
[Unit]
|
|
Description=SAML passthrough for Keycloak
|
|
Documentation=https://git.csclub.uwaterloo.ca/merenber/saml-passthrough
|
|
Requires=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"
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|