diff options
author | Anita Zhang <the.anitazha@gmail.com> | 2019-08-20 17:39:38 -0700 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2019-09-17 15:48:44 +0000 |
commit | 898fc00e794d714e2f01409bef440d910c22502a (patch) | |
tree | 2700355dbf27ac2471acce8d66754f0e80c7ce2f /src/shared | |
parent | 8813a8c332ff956c41b82ef1e2792495ebf924d5 (diff) | |
download | systemd-898fc00e794d714e2f01409bef440d910c22502a.tar.gz |
core: add ExecXYZEx= bus hook ups to all exec command properties
The "Ex" variant was originally only added for ExecStartXYZ= but it makes
sense to have feature parity for the rest of the exec command properties
as well (e.g. ExecReload=, ExecStop=, etc).
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/bus-unit-util.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c index e53b9d5ea2..612ae84fff 100644 --- a/src/shared/bus-unit-util.c +++ b/src/shared/bus-unit-util.c @@ -1434,8 +1434,9 @@ static int bus_append_service_property(sd_bus_message *m, const char *field, con if (STR_IN_SET(field, "ExecCondition", "ExecStartPre", "ExecStart", "ExecStartPost", - "ExecStartPreEx", "ExecStartEx", "ExecStartPostEx", - "ExecReload", "ExecStop", "ExecStopPost")) + "ExecConditionEx", "ExecStartPreEx", "ExecStartEx", "ExecStartPostEx", + "ExecReload", "ExecStop", "ExecStopPost", + "ExecReloadEx", "ExecStopEx", "ExecStopPostEx")) return bus_append_exec_command(m, field, eq); if (STR_IN_SET(field, "RestartPreventExitStatus", "RestartForceExitStatus", "SuccessExitStatus")) { |