zram-generator package will install necessary tools to automate the creation on boot the compressed RAM devices. This article focuses on compressed swap devices. As of…
Tag: systemd
Edit with systemctl edit to add restart on fail to a service – nfs-ganesha
A quick tip how to edit a service unit file under a c system like CentOS Stream 9 or Ubuntu. The best way is to…
Run podman/docker InfluxDB 1.8 container to collect statistics from collectd
Yet another article on the topic of the InfluxDB 1.8 and collectd gathering statistics, in continuation of the articles Monitor and analyze with Grafana, influxdb…
Save iptables rules over reboots on Ubuntu 16 and Ubuntu 18 – persistent iptables rules
Moving towards the firewalld software and especially the systemd some good old init scripts got missing! For example, one of those good scripts is the…
Make systemd to save logs on the disk
On some Linux distributions, systemd log files are not saved on your disk, but only temporary in the memory and when you reboot all logs…
simple time synchronization of a server (laptop, desktop) using built-in systemd-timesyncd service
Here we offer you a relatively new way of keeping your server’s time (or your computer and laptop) synchronized with a reliable time service on…
systemd service freezes in activating (start-post) status – mysqld or other services
We’ve experienced this with the MySQL server under CentOS 7, but you can have this state with other services! After updating our MySQL we tried…
Clear or delete systemd logs
Systemd linux distros use Journald service to collect and store logs in the system. Here are a couple of tips if you have problems with…
systemd can be used to run your application as a daemon
A nice feature of systemd is the scripts could be daemonized without any modifications of the scripts like standard stdin, stdout, stderr to be redirected…