fi
+#
+# be nice
+#
+/usr/bin/renice -n 19 -p $$
+/usr/bin/ionice -c 3 -p $$
+
+
#
# run snapper for all configs
#
fi
+#
+# be nice
+#
+/usr/bin/renice -n 19 -p $$
+/usr/bin/ionice -c 3 -p $$
+
+
#
# run snapper for all configs
#
%package -n libsnapper
Summary: Library for filesystem snapshot management
Group: System/Libraries
-Requires: btrfsprogs diffutils
+Requires: btrfsprogs diffutils util-linux
PreReq: %fillup_prereq
%description -n libsnapper
string output = snapshot2->baseDir() + "/filelist-" + decString(snapshot1->getNum()) +
".txt";
- SystemCmd(COMPAREDIRSBIN " " + quote(dir1) + " " + quote(dir2) + " " + quote(output));
+ SystemCmd(NICEBIN " -n 19 " IONICEBIN " -c 3 " COMPAREDIRSBIN " " + quote(dir1) + " " +
+ quote(dir2) + " " + quote(output));
}
#define COMPAREDIRSBIN "/usr/lib/snapper/bin/compare-dirs"
+#define NICEBIN "/usr/bin/nice"
+#define IONICEBIN "/usr/bin/ionice"
+
#define CPBIN "/bin/cp"
#define DIFFBIN "/usr/bin/diff"