summaryrefslogtreecommitdiff
path: root/scripts/systemd/codeq-web.service
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/systemd/codeq-web.service')
-rw-r--r--scripts/systemd/codeq-web.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/systemd/codeq-web.service b/scripts/systemd/codeq-web.service
new file mode 100644
index 0000000..92d2076
--- /dev/null
+++ b/scripts/systemd/codeq-web.service
@@ -0,0 +1,15 @@
+# /etc/systemd/system/codeq-web.service
+[Unit]
+Wants=codeq-server.service
+After=network.target codeq-server.service
+Description=CodeQ web services
+
+[Service]
+ExecStart=/usr/bin/nodejs /var/local/codeq-server/web/main.js
+Restart=on-failure
+Type=simple
+StandardInput=null
+StandardOutput=null
+StandardError=null
+EnvironmentFile=-/etc/default/codeq
+