Skip to content

Commit

Permalink
Add postgresql service to requirements
Browse files Browse the repository at this point in the history
If this unit gets activated, the units listed in Requires= will be
activated as well. If one of the other units fails to activate, and an
ordering dependency After= on the failing unit is set, this unit will
not be started. Besides, with or without specifying After=, this unit
will be stopped (or restarted) if one of the other units is explicitly
stopped (or restarted).

Reference: https://progress.opensuse.org/issues/122578
  • Loading branch information
baierjan committed Jan 6, 2023
1 parent 22a6216 commit b7452c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion systemd/openqa-webui.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description=The openQA web UI
Wants=apache2.service openqa-setup-db.service
Before=apache2.service
After=postgresql.service openqa-setup-db.service openqa-scheduler.service nss-lookup.target remote-fs.target
Requires=openqa-livehandler.service openqa-websockets.service openqa-gru.service openqa-enqueue-asset-cleanup.timer openqa-enqueue-result-cleanup.timer openqa-enqueue-bug-cleanup.timer
Requires=openqa-livehandler.service openqa-websockets.service openqa-gru.service postgresql.service openqa-enqueue-asset-cleanup.timer openqa-enqueue-result-cleanup.timer openqa-enqueue-bug-cleanup.timer

[Service]
User=geekotest
Expand Down

0 comments on commit b7452c2

Please sign in to comment.