get_documentation()

Return systemctl help <service>: the man pages named by Documentation=.

Usage

get_documentation(
    service,
    columns=DOC_DEFAULT_COLUMNS,
)

The pager is forced to cat because man pipes through $PAGER whenever it’s set, which would leave this call waiting on a pager that has no terminal to draw on.