summaryrefslogtreecommitdiff
path: root/units/user
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-07-28 15:00:08 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-07-29 15:54:53 +0200
commit716e6f4488d3ea7bb91c40577b588253cfe00216 (patch)
tree80c1ccf414ff4216db3c0ab73fce9c6ffc80dac5 /units/user
parent148ffa2e4d43d45c53dbc0799d90400a2ba621ff (diff)
downloadsystemd-716e6f4488d3ea7bb91c40577b588253cfe00216.tar.gz
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.)
Diffstat (limited to 'units/user')
-rw-r--r--units/user/systemd-tmpfiles-clean.service.in2
-rw-r--r--units/user/systemd-tmpfiles-setup.service.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/units/user/systemd-tmpfiles-clean.service.in b/units/user/systemd-tmpfiles-clean.service.in
index 9cd19720d3..306b064e89 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 6467dab896..a852ef5748 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