summaryrefslogtreecommitdiff
path: root/scripts/systemd/codeq-saml.service
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-10-17 22:06:18 +0200
committerAleš Smodiš <aless@guru.si>2015-10-17 22:06:18 +0200
commit8893bb730b7d4127f1e4f8a47146d5dfb9300c81 (patch)
tree8caec96890db6348ac932641e1b25320ddfa9615 /scripts/systemd/codeq-saml.service
parent79c4800ac99c24400ad9da91101b48d6a55234b9 (diff)
Implemented init script for the SAML daemon, modified the refresh-and-deploy script accordingly.
Diffstat (limited to 'scripts/systemd/codeq-saml.service')
-rw-r--r--scripts/systemd/codeq-saml.service13
1 files changed, 13 insertions, 0 deletions
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