files in /var/tmp maybe inaccessible since the nrpe unit file since stretch has PrivateTmp=true and the state file actually should be in /var/lib anyway
authorMatthias Förste <foerste@schlittermann.de>
Mon, 24 Jul 2017 14:24:19 +0200
changeset 16 971a6b825e10
parent 15 f7fef7b2e619
child 17 e5493821df99
files in /var/tmp maybe inaccessible since the nrpe unit file since stretch has PrivateTmp=true and the state file actually should be in /var/lib anyway
send-config.pl
--- a/send-config.pl	Fri May 02 17:16:41 2014 +0200
+++ b/send-config.pl	Mon Jul 24 14:24:19 2017 +0200
@@ -96,7 +96,7 @@
     my $stamp =
         $config->{_}->{stamp}
       ? $config->{_}->{stamp}
-      : '/var/tmp/get-config.stamp';
+      : '/var/lib/get-config.stamp';
 
     debug(
         "CONF remote username: $username",
@@ -315,7 +315,7 @@
 
  username = root
  path = /root/Configs/Hosts/
- stamp = /var/tmp/get-config.stamp
+ stamp = /var/lib/get-config.stamp
 
 =head1 FILES