mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-08 21:17:47 +03:00
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.)
This commit is contained in:
parent
148ffa2e4d
commit
716e6f4488
@ -18,5 +18,5 @@ Before=shutdown.target
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=@rootbindir@/systemd-tmpfiles --clean
|
||||
SuccessExitStatus=65
|
||||
SuccessExitStatus=DATAERR
|
||||
IOSchedulingClass=idle
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -17,5 +17,5 @@ Before=basic.target shutdown.target
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=@rootbindir@/systemd-tmpfiles --user --clean
|
||||
SuccessExitStatus=65
|
||||
SuccessExitStatus=DATAERR
|
||||
IOSchedulingClass=idle
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user