Find in PHP files

Often, I search for a function, most likely a wordpress function, within the PHP files. It is usually done within wordpress themes that contains a few other files too, particularly minified CSS file that results in seeing the entire minified CSS file in the output of the search result. This is pretty annoying to say … Continue reading Find in PHP files


systemctl automatically restart service

References: Ensure systemd services restart on failure by Jon Archer php-fpm systemd unit with auto-restart by Juan Luis Boya García systemd Project Web Page systemd is a system and service manager that runs as PID 1 and starts the rest of the system and services. The main command used to introspect and control systemd is systemctl. Basically … Continue reading systemctl automatically restart service