HomeClusterLabs Projects

init: Use LogsDirectory in systemd unit file

Description

init: Use LogsDirectory in systemd unit file

Similarly as StateDirectory, this is mainly for image mode.
/var/log/cluster shouldn't be included in rpm package, so
use LogsDirectory to make systemd create /var/log/cluster during
corosync startup.

No code change is needed, because logging to log file is fully
configured by user in config file so there is no default to read from
environment variable.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>

Details

Provenance
jfriesseAuthored on Thu, Jun 12, 3:40 AM
Parents
rCae859515defb: exec: Add support for env STATE_DIRECTORY
Branches
Unknown
Tags
Unknown