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.

Categories
Uncategorized

How to make iptables configuration persistent using systemd

Make iptables configuration persistent using systemd file with additional possibility to disable firewall after defined period of time.

Categories
Uncategorized

How to mount WebDAV share using systemd

You can check my earlier blog post on how to mount WebDAV share using command-line or fstab (file systems table), but you are not limited to these two options as you can use systemd to take care of the whole process and automount WebDAV resource on demand.

Categories
SysOps

How to use old network device naming convention

It is a matter of personal preference whether you use current or former network device naming convention. I am more accustomed to the latter and will configure the operating system to retain the old behavior.

Categories
Uncategorized

How to set NOOP scheduler at system boot

There are many different ways to set NOOP scheduler on the first hard drive at system boot. I have decided to use simple systemd service, but alternatively you can use udev to automatically configure every SSD device (see References section).