diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-09-12 15:52:02 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-09-14 11:07:12 +0200 |
commit | 31d74c66e245fdfdcdbb28c4179cc62a5434570f (patch) | |
tree | cf7b4e361798fb402c445ed1bfd73146fb37cf26 /src/core/service.c | |
parent | man: document that RemainAfterElapse=no means that also the triggered unit ne... (diff) | |
download | systemd-31d74c66e245fdfdcdbb28c4179cc62a5434570f.tar.xz systemd-31d74c66e245fdfdcdbb28c4179cc62a5434570f.zip |
core: don't warn if BusName= is used for non-Type=dbus services
It's useful for more than just Type=dbus now, given #16976. Hence, let's
drop the warning.
Diffstat (limited to 'src/core/service.c')
-rw-r--r-- | src/core/service.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/service.c b/src/core/service.c index 03493fd04b..ad6c2d4dde 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -589,9 +589,6 @@ static int service_verify(Service *s) { return -ENOEXEC; } - if (s->bus_name && s->type != SERVICE_DBUS) - log_unit_warning(UNIT(s), "Service has a D-Bus service name specified, but is not of type dbus. Ignoring."); - if (s->exec_context.pam_name && !IN_SET(s->kill_context.kill_mode, KILL_CONTROL_GROUP, KILL_MIXED)) { log_unit_error(UNIT(s), "Service has PAM enabled. Kill mode must be set to 'control-group' or 'mixed'. Refusing."); return -ENOEXEC; |