From 8893bb730b7d4127f1e4f8a47146d5dfb9300c81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Smodi=C5=A1?= Date: Sat, 17 Oct 2015 22:06:18 +0200 Subject: Implemented init script for the SAML daemon, modified the refresh-and-deploy script accordingly. --- scripts/systemd/codeq | 2 ++ scripts/systemd/codeq-saml.service | 13 +++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 scripts/systemd/codeq-saml.service (limited to 'scripts/systemd') 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 -- cgit v1.2.1