run: split out creation of unit creation messages
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 2 Apr 2023 20:27:58 +0000 (22:27 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Apr 2023 08:02:30 +0000 (10:02 +0200)
commitb58026bddce8cc418c10e1c69f96de34b0dffcbf
tree5c4db73e63dc8e59541f75ab32d5cd8bc65763f2
parentac9a75d05e671021add6f9334878b7a8056cfb2d
run: split out creation of unit creation messages

Just refactoring, in preparation for future changes.
(Though I think it'd be reasonable to do anyway, those functions were
awfully long.)

'git diff' displays this badly. The middle part of start_transient_service()
is moved to make_transient_service_unit(), and the middle part of
start_transient_trigger() is moved to make_transient_trigger_unit().
src/run/run.c