summaryrefslogtreecommitdiff
path: root/sys-apps/systemd/files/218-noclean-tmp.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-03-19 20:31:18 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-03-19 20:31:18 +0000
commit2279f39deeb120e7bb8f8c290c4c76c4d92334c2 (patch)
treef525bd870ff8af5c835bb2beef0e898fe77bdf4d /sys-apps/systemd/files/218-noclean-tmp.patch
parent9aecd101b7b20b2dadb4a5e488f0ad841f56f531 (diff)
import systemd into kogaion-desktop, will make it boot WAY faster in live mode
Diffstat (limited to 'sys-apps/systemd/files/218-noclean-tmp.patch')
-rw-r--r--sys-apps/systemd/files/218-noclean-tmp.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-apps/systemd/files/218-noclean-tmp.patch b/sys-apps/systemd/files/218-noclean-tmp.patch
new file mode 100644
index 00000000..b02e5c8e
--- /dev/null
+++ b/sys-apps/systemd/files/218-noclean-tmp.patch
@@ -0,0 +1,28 @@
+From 63e5f76a91e2401e8a6227d0d8ae5e75dd2213b0 Mon Sep 17 00:00:00 2001
+From: Mike Gilbert <floppym@gentoo.org>
+Date: Fri, 25 Sep 2015 10:26:18 -0400
+Subject: [PATCH] tmpfiles: Disable cleaning of /tmp and /var/tmp
+
+Bug: https://bugs.gentoo.org/490676
+---
+ tmpfiles.d/tmp.conf | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tmpfiles.d/tmp.conf b/tmpfiles.d/tmp.conf
+index b80dab4..241fad5 100644
+--- a/tmpfiles.d/tmp.conf
++++ b/tmpfiles.d/tmp.conf
+@@ -8,8 +8,8 @@
+ # See tmpfiles.d(5) for details
+
+ # Clear tmp directories separately, to make them easier to override
+-d /tmp 1777 root root 10d
+-d /var/tmp 1777 root root 30d
++d /tmp 1777 root root
++d /var/tmp 1777 root root
+
+ # Exclude namespace mountpoints created with PrivateTmp=yes
+ x /tmp/systemd-private-%b-*
+--
+2.5.3
+