ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
923a60
From 9f9161e827ad6d90f2578eb0483ecafbe5ac59c7 Mon Sep 17 00:00:00 2001
923a60
From: Lukas Nykryn <lnykryn@redhat.com>
923a60
Date: Mon, 12 Oct 2015 14:18:04 +0200
923a60
Subject: [PATCH] tmpfiles.d: don't clean SAP sockets either
923a60
923a60
rhel-only
923a60
923a60
Resolves: #1186044
923a60
---
923a60
 tmpfiles.d/sap.conf | 12 +++++++++---
923a60
 1 file changed, 9 insertions(+), 3 deletions(-)
923a60
923a60
diff --git a/tmpfiles.d/sap.conf b/tmpfiles.d/sap.conf
923a60
index 01ace42c43..1cdca5263c 100644
923a60
--- a/tmpfiles.d/sap.conf
923a60
+++ b/tmpfiles.d/sap.conf
923a60
@@ -1,3 +1,9 @@
923a60
-# Let's not touch SAP files
923a60
-x /tmp/.hdb_*_lock
923a60
-x /tmp/.sapstartsrv*.log
923a60
+# systemd tmpfiles exclude file for SAP
923a60
+# SAP software unfortunately stores some important files
923a60
+# in /tmp which should not be deleted
923a60
+
923a60
+# Exclude SAP socket and lock files
923a60
+x /tmp/.sap*
923a60
+
923a60
+# Exclude HANA lock file
923a60
+x /tmp/.hdb*lock