red hat 7 tmpfiles service


/etc/tmpfiles.d/  create file zabbix.conf which includes

D /run/zabbix 0777 root root

systemctl status systemd-tmpfiles-setup.service

systemctl | grep tmp
tmp.mount loaded active mounted /tmp
var-tmp.mount loaded active mounted /var/tmp
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
systemd-update-utmp.service loaded active exited Update UTMP about System Boot/Shutdown
systemd-tmpfiles-clean.timer loaded active waiting Daily Cleanup of Temporary Directories

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
Logrotate Example for Custom Logs
Viewed 1532 times since Sun, Jan 12, 2020
RHEL7: How to get started with Firewalld.
Viewed 9290 times since Wed, May 22, 2019
RHEL: GPT/MBR partition tables (using disks larger than 2 TiB)
Viewed 10649 times since Sun, May 27, 2018
Sample logrotate configuration and troubleshooting part 2
Viewed 8340 times since Fri, Nov 30, 2018
Linux: how to monitor the nofile limit
Viewed 8235 times since Wed, Jul 25, 2018
Linux – How to check the exit status of several piped commands
Viewed 1977 times since Wed, Jul 25, 2018
Linux Customizing Bash
Viewed 560 times since Sun, Dec 6, 2020
linux ssh Remotely Initiated Reverse SSH Tunnel
Viewed 1152 times since Wed, Apr 22, 2020
LVM: Extend SWAP size by adding a new Logical Volume
Viewed 1162 times since Sat, Jun 2, 2018
linux unix aix banner /etc/issue
Viewed 973 times since Fri, Aug 3, 2018