- added .sysconfig
authorzbyniu <zbyniu@pld-linux.org>
Wed, 22 Dec 2004 15:43:15 +0000 (15:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    clusternfs.spec -> 1.13
    clusternfs.sysconfig -> 1.1

clusternfs.spec
clusternfs.sysconfig [new file with mode: 0644]

index 434e43f..7f89015 100644 (file)
@@ -9,6 +9,7 @@ URL:            http://clusternfs.sourceforge.net/
 Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}rc2.tar.bz2
 # Source0-md5: b25b578b2dd3222b554c4953a32efc8f
 Source1:       %{name}.init
+Source2:       %{name}.sysconfig
 Patch0:                %{name}-types.patch
 BuildRequires: autoconf
 BuildRequires: automake
@@ -54,12 +55,14 @@ mv -f aclocal.m4 acinclude.m4
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
+install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/clusternfs
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/clusternfs
+> $RPM_BUILD_ROOT%{_sysconfdir}/exports
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -87,4 +90,6 @@ fi
 %attr(755,root,root) %{_sbindir}/rpc.*
 %{_mandir}/man5/*
 %{_mandir}/man8/[mn]*
+%attr(664,root,fileshare) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/exports
+%config(noreplace) %verify(not size mtime md5) /etc/sysconfig/clusternfs
 /var/lib/clusternfs
diff --git a/clusternfs.sysconfig b/clusternfs.sysconfig
new file mode 100644 (file)
index 0000000..037fe1e
--- /dev/null
@@ -0,0 +1,9 @@
+# Set nice level for rpc.mountd and rpc.nfsd
+SERVICE_RUN_NICE_LEVEL="+0"
+
+# Additional options for rpc.nfsd
+OPTIONS_NFSD="-T"
+
+# Additional options for rpc.mountd
+OPTIONS_MNTD="-T"
+
This page took 0.041641 seconds and 4 git commands to generate.