From b290bb8a98cfd130a4305378c2e210fe10bcc449 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 22 Feb 2019 19:43:57 +0100 Subject: [PATCH] TT#53700 Switch nfs-mount systemd service from Type oneshot to simple This service should be stopped when we disable the ngcp-recording-daemon, but ngcp-service has logic to skip services of Type oneshot. In this case turning it into a Type=simple is fine because even though there are no daemons/programs remaining after execution, we do set RemainAfterExit=yes explicitly. Change-Id: I3bde666ae1ed19ac56d38b3e011714e66615a378 --- ...-recording-daemon.ngcp-rtpengine-recording-nfs-mount.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/ngcp-rtpengine-recording-daemon.ngcp-rtpengine-recording-nfs-mount.service b/debian/ngcp-rtpengine-recording-daemon.ngcp-rtpengine-recording-nfs-mount.service index d39ce0af4..67670de71 100644 --- a/debian/ngcp-rtpengine-recording-daemon.ngcp-rtpengine-recording-nfs-mount.service +++ b/debian/ngcp-rtpengine-recording-daemon.ngcp-rtpengine-recording-nfs-mount.service @@ -11,7 +11,7 @@ Requires=rpcbind.service Requires=nfs-client.target [Service] -Type=oneshot +Type=simple RemainAfterExit=yes ExecStart=/usr/sbin/ngcp-rtpengine-recording-nfs-setup start ExecStop=/usr/sbin/ngcp-rtpengine-recording-nfs-setup stop