1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=Export filesystems over NFS After=nfsd.service Requires=nfsd.service [Service] Type=oneshot ExecStart=/usr/sbin/exportfs -ar ExecStop=/usr/sbin/exportfs -au StandardOutput=syslog RemainAfterExit=yes [Install] WantedBy=multi-user.target