systemd 249-rc1 ConditionOSRelease

This new feature could help make development more flexible by specifying which systemd service files are enabled for which ports:

The ConditionOSRelease directive can be used for matching to a value or relative comparison against key-value pairs found in the /etc/os-release file such as if wanting to ensure a systemd unit file is only used if matching a given value or greater than a defined value.

1 Like