diff options
author | Karol Augustin <karol@augustin.pl> | 2018-03-18 10:40:07 +0000 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-03-18 19:40:07 +0900 |
commit | 94a1d03e27811e06045cdfba2e0fc7180964dc0e (patch) | |
tree | dbea480f7dc2d3cf838544de06887d09517e2858 /units/system-update-cleanup.service.in | |
parent | a6d09d946b5ff5fa212b427086f26d20069e8236 (diff) | |
download | systemd-94a1d03e27811e06045cdfba2e0fc7180964dc0e.tar.gz |
units: Fix SuccessAction that belongs to [Unit] section not [Service] section (#8478)
Diffstat (limited to 'units/system-update-cleanup.service.in')
-rw-r--r-- | units/system-update-cleanup.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/system-update-cleanup.service.in b/units/system-update-cleanup.service.in index 84d16f608e..58baab3023 100644 --- a/units/system-update-cleanup.service.in +++ b/units/system-update-cleanup.service.in @@ -14,6 +14,7 @@ After=system-update.target DefaultDependencies=no Conflicts=shutdown.target Before=shutdown.target +SuccessAction=reboot # system-update-generator uses laccess("/system-update"), while a plain # ConditionPathExists=/system-update uses access("/system-update"), so @@ -32,4 +33,3 @@ ConditionPathIsSymbolicLink=|/system-update [Service] Type=oneshot ExecStart=/bin/rm -fv /system-update -SuccessAction=reboot |