Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Wants=postgresql.service to Pulpcore service files #359

Merged
merged 1 commit into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions templates/pulpcore-api.service.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Description=Pulp API Server
After=network.target
Requires=pulpcore-api.socket
Wants=postgresql.service

[Service]
Type=notify
Expand Down
1 change: 1 addition & 0 deletions templates/pulpcore-content.service.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Description=Pulp Content App
Requires=pulpcore-content.socket
After=network.target
Wants=postgresql.service

[Service]
Type=notify
Expand Down
2 changes: 1 addition & 1 deletion templates/[email protected]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Unit]
Description=Pulp Worker
After=network-online.target
Wants=network-online.target
Wants=network-online.target postgresql.service
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reading this file I debated adding Redis as well, but wasn't quite sure about it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense (also to foreman and dynflow)


[Service]
Type=simple
Expand Down
Loading