diff options
Diffstat (limited to 'scripts/systemd')
-rw-r--r-- | scripts/systemd/codeq | 2 | ||||
-rw-r--r-- | scripts/systemd/codeq-saml.service | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/scripts/systemd/codeq b/scripts/systemd/codeq index 28b133b..e6c79ec 100644 --- a/scripts/systemd/codeq +++ b/scripts/systemd/codeq @@ -10,3 +10,5 @@ CODEQ_DB_PASS=c0d3q CODEQ_SERVER_LOG=/var/log/codeq-server.log CODEQ_WEB_LOG=/var/log/codeq-web.log CODEQ_GIT_BRANCH=release +CODEQ_SAML_SERVICE_URL=https://codeq.si/Shibboleth.sso/ +CODEQ_SAML_LOG=/var/log/codeq-saml.log diff --git a/scripts/systemd/codeq-saml.service b/scripts/systemd/codeq-saml.service new file mode 100644 index 0000000..5926daf --- /dev/null +++ b/scripts/systemd/codeq-saml.service @@ -0,0 +1,13 @@ +# /etc/systemd/system/codeq-saml.service +[Unit] +After=network.target +Description=CodeQ SAML services + +[Service] +ExecStart=/usr/bin/nodejs /var/local/codeq-server/saml/saml.js +Restart=on-failure +Type=simple +StandardInput=null +StandardOutput=null +StandardError=null +EnvironmentFile=-/etc/default/codeq |