Skip to content

Commit

Permalink
Merge pull request #558 from AdamWill/after-db
Browse files Browse the repository at this point in the history
systemd: start scheduler (and webui and websockets) after dbs
  • Loading branch information
Ondřej Holeček committed Feb 17, 2016
2 parents 8da815f + 9c52ad4 commit 610dd74
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion systemd/openqa-gru.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Unit]
Description=The openQA gru daemon
After=postgresql.service
After=postgresql.service mariadb.service

[Service]
User=geekotest
Expand Down
1 change: 1 addition & 0 deletions systemd/openqa-scheduler.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[Unit]
Description=The openQA Scheduler
Before=openqa-webui.service openqa-websockets.service
After=postgresql.service mariadb.service

[Service]
User=geekotest
Expand Down
2 changes: 1 addition & 1 deletion systemd/openqa-websockets.service
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Description=The openQA WebSockets server
Wants=apache2.service
Before=apache2.service openqa-webui.service
After=openqa-scheduler.service
After=openqa-scheduler.service postgresql.service mariadb.service
Requires=openqa-scheduler.service

[Service]
Expand Down
1 change: 1 addition & 0 deletions systemd/openqa-webui.service
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Description=The openQA web UI
Wants=apache2.service
Before=apache2.service
After=postgresql.service mariadb.service
Requires=openqa-scheduler.service openqa-websockets.service

[Service]
Expand Down

0 comments on commit 610dd74

Please sign in to comment.