Systemd/src
Lennart Poettering e7dfbb4e74 core: introduce SuccessAction= as unit file property
SuccessAction= is similar to FailureAction= but declares what to do on
success of a unit, rather than on failure. This is useful for running
commands in qemu/nspawn images, that shall power down on completion. We
frequently see "ExecStopPost=/usr/bin/systemctl poweroff" or so in unit
files like this. Offer a simple, more declarative alternative for this.

While we are at it, hook up failure action with unit_dump() and
transient units too.
2017-11-20 16:37:22 +01:00
..
ac-power Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
activate Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
analyze analyze: add new "calendar" command 2017-11-20 10:57:41 +01:00
ask-password Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
backlight Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
basic analyze: add new "calendar" command 2017-11-20 10:57:41 +01:00
binfmt Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
boot Merge pull request #7154 from keszybz/bootspec 2017-11-20 13:06:33 +01:00
busctl Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
cgls Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
cgroups-agent Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
cgtop Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
core core: introduce SuccessAction= as unit file property 2017-11-20 16:37:22 +01:00
coredump Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
cryptsetup Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
debug-generator Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
delta Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
detect-virt Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
dissect Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
environment-d-generator Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
escape Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
firstboot Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
fsck Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
fstab-generator Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
getty-generator Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
gpt-auto-generator Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
hibernate-resume Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
hostname Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
hwdb Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
import Merge pull request #7198 from poettering/stdin-stdout 2017-11-19 19:49:11 +01:00
initctl Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journal Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
journal-remote Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
kernel-install Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
libsystemd Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
libsystemd-network Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
libudev Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
locale Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
login Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
machine Merge pull request #7198 from poettering/stdin-stdout 2017-11-19 19:49:11 +01:00
machine-id-setup Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
modules-load Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
mount Merge pull request #7198 from poettering/stdin-stdout 2017-11-19 19:49:11 +01:00
network Merge pull request #7379 from yuwata/follow-up-7309 2017-11-19 19:47:24 +01:00
notify Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
nspawn Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
nss-myhostname Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
nss-mymachines Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
nss-resolve Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
nss-systemd Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
path Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
quotacheck Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
random-seed Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
rc-local-generator Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
remount-fs Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
reply-password Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
resolve Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
rfkill Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
run Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
shared core: introduce SuccessAction= as unit file property 2017-11-20 16:37:22 +01:00
sleep Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
socket-proxy Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
stdio-bridge Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sulogin-shell Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
sysctl Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
system-update-generator Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
systemctl Merge pull request #7154 from keszybz/bootspec 2017-11-20 13:06:33 +01:00
systemd Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
sysusers Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sysv-generator Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test util: add new helper in_utc_timezone() 2017-11-20 10:53:26 +01:00
timedate Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
timesync Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
tmpfiles Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
tty-ask-password-agent Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
udev Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
update-done Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
update-utmp Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
user-sessions Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
vconsole Add license headers and SPDX identifiers to meson.build files 2017-11-19 19:08:15 +01:00
veritysetup Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
volatile-root Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00