[packages/systemd] skip pld-clean-tmp entirely if /tmp is on tmpfs

atler atler at pld-linux.org
Tue Dec 28 19:19:35 CET 2021


commit 15a8101be02f2750f25d92f33ba773341315babf
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Dec 28 19:16:50 2021 +0100

    skip pld-clean-tmp entirely if /tmp is on tmpfs

 pld-clean-tmp.service | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/pld-clean-tmp.service b/pld-clean-tmp.service
index 86c560f..73adb77 100644
--- a/pld-clean-tmp.service
+++ b/pld-clean-tmp.service
@@ -1,8 +1,9 @@
 [Unit]
 Description=Clean /tmp on startup
 DefaultDependencies=no
-After=systemd-remount-fs.service
+After=systemd-remount-fs.service tmp.mount
 Before=systemd-tmpfiles-setup.service
+Conflicts=tmp.mount
 
 [Service]
 ExecStart=/lib/systemd/pld-clean-tmp
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/15a8101be02f2750f25d92f33ba773341315babf



More information about the pld-cvs-commit mailing list