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.

Categories
SysOps

How to mount NFS share using systemd

This is an extension to an older blog post on how to mount WebDAV share using systemd as this proved to be a very reliable method that is easy to mark as a dependency for other services.

Categories
Uncategorized

How to update system time using systemd

Update the system time using systemd as a NTP client.