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 /rpc-svcgssd.service | |
parent | e04f7990a122e346fad9de598c4367a8ab84f9de (diff) |
Added seperated service files for nfs
Diffstat (limited to 'rpc-svcgssd.service')
-rw-r--r-- | rpc-svcgssd.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/rpc-svcgssd.service b/rpc-svcgssd.service new file mode 100644 index 0000000..008a8d6 --- /dev/null +++ b/rpc-svcgssd.service @@ -0,0 +1,17 @@ +[Unit] +Description=RPC GSS-API server-side daemon +After=rpcbind.service +Requires=rpcbind.service +ConditionPathExists=/usr/sbin/rpc.svcgssd + +[Service] +Type=forking +EnvironmentFile=/etc/conf.d/nfs +# Currently the mechanism modules aren't loaded automatically. +# Patch exists at <http://marc.info/?l=linux-nfs&m=130877833918632>; +# once it reaches mainline, the modprobe should be removed. +ExecStartPre=-/sbin/modprobe rpcsec_gss_krb5 +ExecStart=/usr/sbin/rpc.svcgssd $OPTS_RPC_SVCGSSD + +[Install] +WantedBy=multi-user.target |