5.1. Systemd service unit file Previous topic Parent topic Child topic Next topic

The Radiator deb and RPM distributions are designed to use systemd service unit files. The default installation and its systemd configuration is described in installation section. Copies of the service unit files are also available in directory /opt/radiator/radiator/goodies/
When you need to locally customise the unit file settings, do not directly edit Radiator's files in /usr/lib/systemd/system. The local customisations, also called drop-in files, should go into /etc/systemd/system/radiator.service.d/ directory. For example:
% cat /etc/systemd/system/radiator.service.d/stdout-stderr.conf
[Service]
# Standard output and error can be connected (redirected) to a file
# instead the usual default of journal
StandardOutput=file:/var/log/radiator/radiator-stdout.log
StandardError=file:/var/log/radiator/radiator-stderr.log 
The above changes systemd behaviour to capture stdout and stderr and write them to separate files in the log directory. This allows for easier capture of LDAP level debugging that is not visible for Radiator, as described in Section 3.9.11. Debug and Section 3.9.12. DebugTLS
The locally created drop-in file must end with the suffix .conf. Before using a new drop-in file, systemd likely requires 'systemctl daemon-reload' command.
See the copies of service unit files in directory /opt/radiator/radiator/goodies/ for additional customisation options, such as allowing Radiator to access the privileged winbidd socket for AuthBy NTLM.