From: Mike Yuan Date: Tue, 25 Jun 2024 12:50:11 +0000 (+0200) Subject: import-generator: open up NotifyAccess for varlinkctl X-Git-Tag: v257-rc1~1050 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=632094641148f85d226b39ce168cf1db40d822fb;p=thirdparty%2Fsystemd.git import-generator: open up NotifyAccess for varlinkctl So that it can report errors through VARLINKERROR=. --- diff --git a/src/import/import-generator.c b/src/import/import-generator.c index 29fa5aad320..a7660c44e0c 100644 --- a/src/import/import-generator.c +++ b/src/import/import-generator.c @@ -240,7 +240,8 @@ static int transfer_generate(sd_json_variant *v, size_t c) { fputs("\n" "[Service]\n" - "Type=oneshot\n", f); + "Type=oneshot\n" + "NotifyAccess=main\n", f); _cleanup_free_ char *formatted = NULL; r = sd_json_variant_format(v, /* flags= */ 0, &formatted);