Search found 2 matches
- Thu Jul 06, 2017 5:49 pm
- Forum: Open Source Nagios Projects
- Topic: All files in var deleted on every reboot?
- Replies: 10
- Views: 6572
Re: All files in var deleted on every reboot?
Solved it! The culprit is systemd. Systemd will wipe out temporary files on exit. If you want the temporary file structure to be recreated on boot, then you need to have a configuration file in the /etc/tmpfiles.d directory. I created a nagios.service.conf file in this directory with the following c...
- Thu Jul 06, 2017 5:26 pm
- Forum: Open Source Nagios Projects
- Topic: All files in var deleted on every reboot?
- Replies: 10
- Views: 6572
Re: All files in var deleted on every reboot?
I get the exact same behavior. I'm using Nagios 4.3.1 on CentOS 7.3 with SELinux disabled.