From e61c812f5f652c87cae76bdd155249cda14dcdff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Smodi=C5=A1?= Date: Mon, 5 Oct 2015 21:27:39 +0200 Subject: Implemented systemd unit files to manage CodeQ daemons. --- scripts/systemd/codeq-web.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scripts/systemd/codeq-web.service (limited to 'scripts/systemd/codeq-web.service') 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 + -- cgit v1.2.1