aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'policy/modules/contrib/tmpreaper.fc')
-rw-r--r--policy/modules/contrib/tmpreaper.fc7
1 files changed, 7 insertions, 0 deletions
diff --git a/policy/modules/contrib/tmpreaper.fc b/policy/modules/contrib/tmpreaper.fc
new file mode 100644
index 00000000..fcc10e89
--- /dev/null
+++ b/policy/modules/contrib/tmpreaper.fc
@@ -0,0 +1,7 @@
+ifdef(`distro_debian',`
+/etc/init\.d/mountall-bootclean.sh -- gen_context(system_u:object_r:tmpreaper_exec_t,s0)
+/etc/init\.d/mountnfs-bootclean.sh -- gen_context(system_u:object_r:tmpreaper_exec_t,s0)
+')
+
+/usr/sbin/tmpreaper -- gen_context(system_u:object_r:tmpreaper_exec_t,s0)
+/usr/sbin/tmpwatch -- gen_context(system_u:object_r:tmpreaper_exec_t,s0)