Categories
SysOps

How to get service PID using systemctl

Use systemctl to get process identifier for specified service.

Categories
Uncategorized

How to manage systemd services remotely

Manage systemd services remotely over SSH protocol.

Categories
SysOps

How to restart service on every configuration change

Monitor file system events to restart service on every configuration change.

Categories
SysOps

How to log specific Varnish requests

Use varnishlog to log specific Varnish requests.

Categories
SysOps

How to use virtual memory filesystem to store Varnish Shared memory Log

Varnish Shared memory Log can put a major strain on the disk (I/O write operations). The solution is to store it on the virtual memory filesystem.

Categories
SysOps

How to restart systemd service in case of failure

Configure systemd service to be restarted in case of failure.

Categories
Uncategorized

How to unmount stale NFS share

Unmount not accessible NFS share that still has open files.

Categories
Uncategorized

How to start service after the system time has been synchronized

Ensure that specific service is started after the system time has been synchronized.

Categories
SysOps

How to prevent systemd service start operation from timing out

Specify systemd startup timeout option to prevent service start operation from timing out.

How to modify systemd service configuration

Modify systemd service configuration by using drop-in files, which is useful for automation when using ansible or any other provisioning, configuration management, and deployment utility.