Browse Source

TT#61954 Do not pass --no-enable and --no-start to sysvinit and systemd helpers

We now use systemd presets, and always install a policy-rc.d script, so
there's no reason to disable these at package build time. Let's switch
to the Debian defaults, so that third-party users get these to work out
of the box, in case the want to build and install the packages.

Change-Id: I0b0af3ffa1fe4daa72562f07fd95b606f96c0f88
changes/05/31505/5
Guillem Jover 7 years ago
parent
commit
55faffdcf0
1 changed files with 4 additions and 7 deletions
  1. +4
    -7
      debian/rules

+ 4
- 7
debian/rules View File

@ -58,13 +58,10 @@ override_dh_install:
override_dh_strip:
dh_strip --dbgsym-migration='ngcp-rtpengine-dbg (<= 6.0.0.0+0~mr6.0.0.0)'
override_dh_installinit:
dh_installinit --no-start
override_dh_systemd_enable:
dh_systemd_enable --no-enable
dh_systemd_enable -pngcp-rtpengine-recording-daemon --name=ngcp-rtpengine-recording-nfs-mount --no-enable
dh_systemd_enable
dh_systemd_enable -pngcp-rtpengine-recording-daemon --name=ngcp-rtpengine-recording-nfs-mount
override_dh_systemd_start:
dh_systemd_start --no-start
dh_systemd_start -pngcp-rtpengine-recording-daemon --name=ngcp-rtpengine-recording-nfs-mount --no-start
dh_systemd_start
dh_systemd_start -pngcp-rtpengine-recording-daemon --name=ngcp-rtpengine-recording-nfs-mount

Loading…
Cancel
Save