mirror of https://github.com/sipwise/rtpengine.git
We do not use a proper mount unit because that requires the mount point to be encoded in the filename which is variable and depends on the value coming from config.yml. Change-Id: Ibb637c533c94bc3db119111460ca647a50a205afchanges/26/22826/6
parent
f91b64fcdf
commit
0224a49162
@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=NGCP RTP/media Recording Daemon NFS mount point
|
||||
After=network-online.target
|
||||
After=remote-fs.target
|
||||
After=rpcbind.socket
|
||||
After=rpcbind.service
|
||||
After=nfs-client.target
|
||||
Requires=network-online.target
|
||||
Requires=rpcbind.socket
|
||||
Requires=rpcbind.service
|
||||
Requires=nfs-client.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/sbin/ngcp-rtpengine-recording-nfs-setup start
|
||||
ExecStop=/usr/sbin/ngcp-rtpengine-recording-nfs-setup stop
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Reference in new issue