From: Zbigniew Jędrzejewski-Szmek Date: Sun, 28 Jul 2019 13:00:08 +0000 (+0200) Subject: units: use symbolic exit code names X-Git-Tag: v243~132^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=716e6f4488d3ea7bb91c40577b588253cfe00216;p=platform%2Fupstream%2Fsystemd.git units: use symbolic exit code names (nspawn uses 133 which doesn't have a name. That's reasonable, because there's less chance of conflict with a return value from the payload.) --- diff --git a/units/systemd-tmpfiles-clean.service.in b/units/systemd-tmpfiles-clean.service.in index 9e2f04b..5d70aaf 100644 --- a/units/systemd-tmpfiles-clean.service.in +++ b/units/systemd-tmpfiles-clean.service.in @@ -18,5 +18,5 @@ Before=shutdown.target [Service] Type=oneshot ExecStart=@rootbindir@/systemd-tmpfiles --clean -SuccessExitStatus=65 +SuccessExitStatus=DATAERR IOSchedulingClass=idle diff --git a/units/systemd-tmpfiles-setup-dev.service.in b/units/systemd-tmpfiles-setup-dev.service.in index 50df15c..ed52db4 100644 --- a/units/systemd-tmpfiles-setup-dev.service.in +++ b/units/systemd-tmpfiles-setup-dev.service.in @@ -19,4 +19,4 @@ Before=sysinit.target local-fs-pre.target systemd-udevd.service shutdown.target Type=oneshot RemainAfterExit=yes ExecStart=@rootbindir@/systemd-tmpfiles --prefix=/dev --create --boot -SuccessExitStatus=65 73 +SuccessExitStatus=DATAERR CANTCREAT diff --git a/units/systemd-tmpfiles-setup.service.in b/units/systemd-tmpfiles-setup.service.in index b02bbcd..32a475d 100644 --- a/units/systemd-tmpfiles-setup.service.in +++ b/units/systemd-tmpfiles-setup.service.in @@ -20,4 +20,4 @@ RefuseManualStop=yes Type=oneshot RemainAfterExit=yes ExecStart=@rootbindir@/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev -SuccessExitStatus=65 73 +SuccessExitStatus=DATAERR CANTCREAT diff --git a/units/user/systemd-tmpfiles-clean.service.in b/units/user/systemd-tmpfiles-clean.service.in index 9cd1972..306b064 100644 --- a/units/user/systemd-tmpfiles-clean.service.in +++ b/units/user/systemd-tmpfiles-clean.service.in @@ -17,5 +17,5 @@ Before=basic.target shutdown.target [Service] Type=oneshot ExecStart=@rootbindir@/systemd-tmpfiles --user --clean -SuccessExitStatus=65 +SuccessExitStatus=DATAERR IOSchedulingClass=idle diff --git a/units/user/systemd-tmpfiles-setup.service.in b/units/user/systemd-tmpfiles-setup.service.in index 6467dab..a852ef5 100644 --- a/units/user/systemd-tmpfiles-setup.service.in +++ b/units/user/systemd-tmpfiles-setup.service.in @@ -19,7 +19,7 @@ RefuseManualStop=yes Type=oneshot RemainAfterExit=yes ExecStart=@rootbindir@/systemd-tmpfiles --user --create --remove --boot -SuccessExitStatus=65 +SuccessExitStatus=DATAERR [Install] WantedBy=basic.target