------------------------------------------------------------
revno: 256
committer: Sylvain Beucler <[email protected]>
branch nick: infra
timestamp: Tue 2011-01-11 23:28:05 +0100
message:
Files reused in several DomUs
added:
functions/noatime.txt
functions/rsync-anonymous.txt
=== added file 'functions/noatime.txt'
--- a/functions/noatime.txt 1970-01-01 00:00:00 +0000
+++ b/functions/noatime.txt 2011-01-11 22:28:05 +0000
@@ -0,0 +1,4 @@
+# Mount filesystems with noatime, e.g.:
+#/dev/sda2 / ext3 errors=remount-ro,noatime 0 1
+
+# This reduces the write load on disks to some extent.
=== added file 'functions/rsync-anonymous.txt'
--- a/functions/rsync-anonymous.txt 1970-01-01 00:00:00 +0000
+++ b/functions/rsync-anonymous.txt 2011-01-11 22:28:05 +0000
@@ -0,0 +1,12 @@
+# /etc/xinetd.d/rsync
+cat <<'EOF' > /etc/xinetd.d/rsync
+service rsync
+{
+ disable = no
+ socket_type = stream
+ wait = no
+ user = nobody
+ server = /usr/bin/rsync
+ server_args = --daemon
+}
+EOF
_______________________________________________
Savannah-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/savannah-cvs