Skip to content

Commit

Permalink
Do not start foreman.service or foreman.socket on package install
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms committed Oct 22, 2020
1 parent a1da82f commit f509c09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions debian/bionic/foreman/rules
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ build:
dh $@ --with=systemd

override_dh_installinit:
dh_installinit
dh_installinit --only-scripts

override_dh_systemd_enable:
dh_systemd_enable --package=foreman-service
dh_systemd_enable --name=foreman.service --package=foreman-service
dh_systemd_enable --name=foreman.socket --package=foreman-service
dh_systemd_enable --name=dynflow-sidekiq@orchestrator --package=foreman-dynflow-sidekiq
dh_systemd_enable --name=dynflow-sidekiq@worker --package=foreman-dynflow-sidekiq
5 changes: 3 additions & 2 deletions debian/buster/foreman/rules
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ build:
dh $@ --with=systemd

override_dh_installinit:
dh_installinit
dh_installinit --only-scripts

override_dh_systemd_enable:
dh_systemd_enable --package=foreman-service
dh_systemd_enable --name=foreman.service --package=foreman-service
dh_systemd_enable --name=foreman.socket --package=foreman-service
dh_systemd_enable --name=dynflow-sidekiq@orchestrator --package=foreman-dynflow-sidekiq
dh_systemd_enable --name=dynflow-sidekiq@worker --package=foreman-dynflow-sidekiq

0 comments on commit f509c09

Please sign in to comment.