summaryrefslogtreecommitdiff
path: root/scripts/systemd/codeq-prolog.service
diff options
context:
space:
mode:
authorMarko Pušnik <marko.pusnik@guru.si>2015-10-06 00:41:37 +0200
committerMarko Pušnik <marko.pusnik@guru.si>2015-10-06 00:41:37 +0200
commit0f65272cd8f456a3e1d88d983590f47462b77e72 (patch)
tree021394bae27d500a907366bf5819759ad46ae9ec /scripts/systemd/codeq-prolog.service
parent17b999c2739006c2ec3b37ed64f119c9ad0b3338 (diff)
parente61c812f5f652c87cae76bdd155249cda14dcdff (diff)
Merge branch 'master' of ssh://212.235.189.51:22122/codeq-server
Diffstat (limited to 'scripts/systemd/codeq-prolog.service')
-rw-r--r--scripts/systemd/codeq-prolog.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/systemd/codeq-prolog.service b/scripts/systemd/codeq-prolog.service
new file mode 100644
index 0000000..0c9abdb
--- /dev/null
+++ b/scripts/systemd/codeq-prolog.service
@@ -0,0 +1,13 @@
+# /etc/systemd/system/codeq-prolog.service
+[Unit]
+After=network.target
+Description=CodeQ Prolog daemon
+
+[Service]
+ExecStart=/usr/bin/swipl -q --nosignals -tty -s /var/local/codeq-server/prolog/runner/daemon.pl
+Restart=on-failure
+Type=simple
+StandardInput=null
+StandardOutput=null
+StandardError=null
+