Use Finished instead of Started for Type=oneshot services (#14851)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 5 Mar 2020 16:24:19 +0000 (17:24 +0100)
committerGitHub <noreply@github.com>
Thu, 5 Mar 2020 16:24:19 +0000 (17:24 +0100)
commiteda0cbf07186d16a160bd1d810613586fdbdf587
tree10ffa5168ce7ec55004bd42781bd07f7402634ba
parent412be51fe8f36d48a7d2930a7f51a3e6eec17029
Use Finished instead of Started for Type=oneshot services (#14851)

UnitStatusMessageFormats.finished_job, if present,
will be called with the same arguments as
job_get_done_status_message_format() to provide a format string
appropriate for the context

This commit replaces "Started" with "Finished" for started oneshot
units, as mentioned in the referenced issue

Closes #2458.
src/core/job.c
src/core/service.c
src/core/unit.h