2012-01-28 17:04:13 +01:00
|
|
|
[Unit]
|
|
|
|
Description=NFS server
|
|
|
|
After=rpcbind.service
|
|
|
|
Requires=rpcbind.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
ExecStart=/usr/sbin/rpc.nfsd
|
2012-07-09 09:23:22 +02:00
|
|
|
ExecStartPost=/usr/sbin/exportfs -a
|
2012-01-28 17:04:13 +01:00
|
|
|
ExecStop=/usr/sbin/rpc.nfsd 0
|
2012-07-09 09:23:22 +02:00
|
|
|
ExecStopPost=/usr/sbin/exportfs -a -u
|
2012-01-28 17:04:13 +01:00
|
|
|
RemainAfterExit=yes
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|