diff options
author | Luo Jinghua <sunmoon1997@gmail.com> | 2011-08-06 15:56:10 +0800 |
---|---|---|
committer | Luo Jinghua <sunmoon1997@gmail.com> | 2011-08-06 15:56:10 +0800 |
commit | 4177d055a470d6ac641be64456399646df218e11 (patch) | |
tree | 7391fd38d1e2908bd8df61276d47ef9ad644e4f5 /exportfs.service | |
parent | e04f7990a122e346fad9de598c4367a8ab84f9de (diff) |
Added seperated service files for nfs
Diffstat (limited to 'exportfs.service')
-rw-r--r-- | exportfs.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/exportfs.service b/exportfs.service new file mode 100644 index 0000000..8653283 --- /dev/null +++ b/exportfs.service @@ -0,0 +1,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 |