From 55faffdcf0c14e4f5122497ef534ad2f0a381957 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 4 Jul 2019 20:20:48 +0200 Subject: [PATCH] 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 --- debian/rules | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/debian/rules b/debian/rules index c21f1820f..4aab86e93 100755 --- a/debian/rules +++ b/debian/rules @@ -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