diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-02-11 17:47:53 +0100 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-02-11 17:48:10 +0100 |
commit | 912783135badb11009db497b71cdf08a597b1e39 (patch) | |
tree | 43986ef69971a423df9e597f027046cf3688c1c9 /scripts/systemd | |
parent | 90d0e0f71a82de377899fb3c4a5fa0ef209a4049 (diff) |
Update systemd unit files and add codeq.target
For some reason, codeq-web should be started after codeq-web.
Diffstat (limited to 'scripts/systemd')
-rw-r--r-- | scripts/systemd/codeq-server.service | 4 | ||||
-rw-r--r-- | scripts/systemd/codeq-web.service | 3 | ||||
-rw-r--r-- | scripts/systemd/codeq.target | 6 |
3 files changed, 9 insertions, 4 deletions
diff --git a/scripts/systemd/codeq-server.service b/scripts/systemd/codeq-server.service index 26e05f9..162c18e 100644 --- a/scripts/systemd/codeq-server.service +++ b/scripts/systemd/codeq-server.service @@ -1,7 +1,7 @@ # /etc/systemd/system/codeq-server.service [Unit] -Wants=postgresql.service codeq-prolog.service -After=network.target postgresql.service codeq-prolog.service +Wants=postgresql.service codeq-prolog.service codeq-web.service +After=network.target postgresql.service codeq-prolog.service codeq-web.service Description=CodeQ server [Service] diff --git a/scripts/systemd/codeq-web.service b/scripts/systemd/codeq-web.service index 92d2076..cf6b26b 100644 --- a/scripts/systemd/codeq-web.service +++ b/scripts/systemd/codeq-web.service @@ -1,7 +1,6 @@ # /etc/systemd/system/codeq-web.service [Unit] -Wants=codeq-server.service -After=network.target codeq-server.service +After=network.target Description=CodeQ web services [Service] diff --git a/scripts/systemd/codeq.target b/scripts/systemd/codeq.target new file mode 100644 index 0000000..002a34c --- /dev/null +++ b/scripts/systemd/codeq.target @@ -0,0 +1,6 @@ +[Unit] +Requires=codeq-prolog.service codeq-saml.service codeq-server.service codeq-web.service +Description=CodeQ + +[Install] +WantedBy=multi-user.target |