Skip to content

Commit

Permalink
Loosen crowbar/psql service dependencies
Browse files Browse the repository at this point in the history
With remote postgresql service, it's not possible for crowbar(-jobs)
to `Require=` postgresql. `Wants=` is a less strict alternative.
  • Loading branch information
skazi0 committed Mar 31, 2017
1 parent b2219cb commit 10bdedd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configs/crowbar-jobs.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Unit]
Description=Crowbar Background jobs
After=network.target syslog.target remote-fs.target chef-server.service crowbar.service
Requires=postgresql.service
Wants=postgresql.service

[Service]
Type=forking
Expand Down
3 changes: 2 additions & 1 deletion configs/crowbar.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[Unit]
Description=Crowbar
After=network.target syslog.target remote-fs.target chef-server.service
Requires=apache2.service postgresql.service
Requires=apache2.service
Wants=postgresql.service
Before=crowbar-jobs.service

[Service]
Expand Down

0 comments on commit 10bdedd

Please sign in to comment.