stages/systemd.unit.create: support StandardOutput

Add support for the StandardOutput option in the [Service] section of
systemd units.

https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#StandardOutput=
This commit is contained in:
Achilleas Koutsou 2025-04-07 19:52:09 +02:00 committed by Tomáš Hozza
parent 5c42636a7c
commit 52a822075e
5 changed files with 222 additions and 3 deletions

View file

@ -698,7 +698,8 @@
],
"EnvironmentFile": [
"/etc/example.env"
]
],
"StandardOutput": "journal+console"
},
"Install": {
"WantedBy": [

View file

@ -54,6 +54,7 @@ pipelines:
value: "1"
EnvironmentFile:
- "/etc/example.env"
StandardOutput: "journal+console"
Install:
WantedBy:
- local-fs.target

View file

@ -11,7 +11,7 @@
"/etc/systemd/user/create-directory.service": {
"content": [
"sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"sha256:69aa663d58cc063ea2d7659ac06354335c26e69e8fdb0036f952b082a70b5642"
"sha256:81ee5966cdfedee4d43a304e19a4c3655eae4c215f1856f245d137a4982d3601"
]
},
"/usr/lib/systemd/system/dev-disk-by-uuid-4f581be3-e8c2-4b44-9456-54df3ab92944.swap": {