How to see the active settings of a systemd unit
How to see active settings of a systemd unit?
Run systemctl with the 'show' subcommand and service.
systemctl show UNITThe systemctl command can be used to show all settings of an unit, such as a service. To display the full list of applicable settings, use the show subcommand followed by the unit name.
Besides the settings, the output will also include actual runtime information, such as memory usage, when the unit was started, etc.
Usage
Just provide the unit file to see all available information.
# systemctl show nginx.service
Type=forking
Restart=no
PIDFile=/run/nginx.pid
NotifyAccess=none
RestartUSec=100ms
TimeoutStartUSec=1min 30s
TimeoutStopUSec=5s
TimeoutAbortUSec=5s
TimeoutStartFailureMode=terminate
TimeoutStopFailureMode=terminate
<snip>