core: refuse invalid emergency actions for SuccessAction= and friends in user service...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 17 May 2024 17:07:34 +0000 (02:07 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 17 May 2024 17:51:34 +0000 (02:51 +0900)
commit2a2d9539f08fde4436048ba449d50ce75f1f0624
tree58e760bbfb11164d87544ac5cae5233cfe3fbb0d
parent067857196c78b8b21694b510e7678beac9f781cd
core: refuse invalid emergency actions for SuccessAction= and friends in user service manager

Especially, soft-reboot is not supported by user service manager.

Fixes a bug in 13ffc60749df0ca7c76cfcac317b41a05679b364 and
3cf848f6cd2151ccff89073bffb102f966d64ced.
man/systemd.unit.xml
src/core/emergency-action.c
src/core/emergency-action.h