logging - How do you log systemd service starts,stops,failures as they occur? -
we have moved systemd, , has been quite useful. cannot find way log starts , restarts of given service. can use journalctl syslog_identifier=systemd -u some-service.service
see entries, there doesn't seem way log when happens.
i know hook execstartpre=
or execstartpost=
directives, have lot of services. i'm hoping more general solution.
Comments
Post a Comment