Tag: systemd

Automatically clean /tmp or /var/tmp files that are in protected PrivateTmp directories in CentOS / RHEL 7

With CentOS/RHEL 6 there was a function called tmpwatch that was launched /etc/cron.daily/tmpwach This process has changed in CentOS/RHEL 7. There is a system target that runs daily: system-tempfiles-clean.timer. Although tmpwatch does a pretty good job in cleaning out the /tmp or /var/tmp files, it does not by default clean out the /tmp/systemd-private directories as these are secure.  There are…

Read More »

Create systemd services for Atlassian Apps

While working with the Atlassian products over the years, a pattern emerges. Even though there are distinct differences in their setup and configurations, the installation process can be generalized. One of the post-installation considerations to make is in the manual creation of a service.  The benefit of a service is that it will automate the running of the application, rather…

Read More »