linamh/net-fs/nfs-utils/files/nfsd.service
Mario Fetka c6e1284c7e Bump the patch
Package-Manager: portage-2.2.0_alpha188
RepoMan-Options: --force
2013-08-16 08:31:59 +02:00

17 lines
339 B
Desktop File

[Unit]
Description=NFS server
After=rpcbind.service
Requires=rpcbind.service
[Service]
Type=oneshot
EnvironmentFile=/etc/conf.d/nfs
ExecStart=/usr/sbin/rpc.nfsd $OPTS_RPC_NFSD
ExecStartPost=/usr/sbin/exportfs -a
ExecStop=/usr/sbin/rpc.nfsd 0
ExecStopPost=/usr/sbin/exportfs -a -u
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target