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
changes/71/27471/2
Guillem Jover 7 years ago
parent 490d7eb019
commit b290bb8a98

@ -11,7 +11,7 @@ Requires=rpcbind.service
Requires=nfs-client.target Requires=nfs-client.target
[Service] [Service]
Type=oneshot Type=simple
RemainAfterExit=yes RemainAfterExit=yes
ExecStart=/usr/sbin/ngcp-rtpengine-recording-nfs-setup start ExecStart=/usr/sbin/ngcp-rtpengine-recording-nfs-setup start
ExecStop=/usr/sbin/ngcp-rtpengine-recording-nfs-setup stop ExecStop=/usr/sbin/ngcp-rtpengine-recording-nfs-setup stop

Loading…
Cancel
Save