mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
16 lines
359 B
Desktop File
16 lines
359 B
Desktop File
[Unit]
|
|
Description=NFS server
|
|
After=rpcbind.service
|
|
Requires=rpcbind.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
EnvironmentFile=/etc/conf.d/nfs-server.conf
|
|
ExecStart=/usr/sbin/rpc.nfsd $NFSD_OPTS $NFSD_COUNT
|
|
ExecStartPost=/usr/sbin/exportfs -a
|
|
ExecStop=/usr/sbin/rpc.nfsd 0
|
|
ExecStopPost=/usr/sbin/exportfs -a -u
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|