From 7379b53872c4ae5bc298ed2a278ea8230bff35ee Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Wed, 19 Dec 2018 17:18:03 +0100 Subject: [PATCH] misc_systemd_units/gdm: Fix syntax for negation Currently, systemd shows the warning below. [3223831.579201] systemd[1]: /etc/systemd/system/gdm.service:5: Unknown lvalue '!ConditionPathExists' in section 'Unit' According to systemd.unit(5) the absolute path name passed to `ConditionPathExists=` needs to be prefixed with an exclamation mark. Change the service unit accordingly, and the error is gone. Currently, on *sigusr2*, tagged with *lightdm* both GDM and LightDM are running. --- misc_systemd_units/gdm.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc_systemd_units/gdm.service b/misc_systemd_units/gdm.service index 6750482..e454a45 100644 --- a/misc_systemd_units/gdm.service +++ b/misc_systemd_units/gdm.service @@ -2,7 +2,7 @@ Description=GDM Wants=nvidia.service After=nvidia.service -!ConditionPathExists=/node/tags/lightdm +ConditionPathExists=!/node/tags/lightdm [Service] ExecStart=/usr/sbin/gdm