Browse Source

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
commit
b290bb8a98
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      debian/ngcp-rtpengine-recording-daemon.ngcp-rtpengine-recording-nfs-mount.service

+ 1
- 1
debian/ngcp-rtpengine-recording-daemon.ngcp-rtpengine-recording-nfs-mount.service View File

@ -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


Loading…
Cancel
Save