Monitor file system events to restart service on every configuration change.
Tag: systemd
How to log specific Varnish requests
Use varnishlog
to log specific Varnish requests.
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.
Configure systemd service to be restarted in case of failure.
How to unmount stale NFS share
Unmount not accessible NFS share that still has open files.
Ensure that specific service is started after the system time has been synchronized.
Specify systemd startup timeout option to prevent service start operation from timing out.
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.
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.
Update the system time using systemd as a NTP client.