summaryrefslogtreecommitdiff
path: root/scripts/systemd/codeq-prolog.service
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-10-05 21:27:39 +0200
committerAleš Smodiš <aless@guru.si>2015-10-05 21:27:39 +0200
commite61c812f5f652c87cae76bdd155249cda14dcdff (patch)
tree38a923e3dae2bebf451046cf4940d615f3c666d4 /scripts/systemd/codeq-prolog.service
parentb899cfb6a5b58a8cf4e22bd2eea069c4fe4121c1 (diff)
Implemented systemd unit files to manage CodeQ daemons.
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
+