Polls the status of a systemd unit and returns reactive state.
The systemd unit name (e.g. "nginx.service").
"nginx.service"
How often to re-poll. Defaults to 5000 ms.
5000
{ status, loading, error, refresh } — call refresh() to force an immediate re-poll.
{ status, loading, error, refresh }
refresh()
Polls the status of a systemd unit and returns reactive state.