generic-wayland: fix user-session-launch.service dependencies
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>
Tue, 15 Apr 2014 10:27:40 +0000 (12:27 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Tue, 15 Apr 2014 10:27:40 +0000 (12:27 +0200)
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
scripts/generic-wayland.post

index 09edd0d..cf61f6f 100644 (file)
@@ -18,11 +18,12 @@ for user in app alice bob carol guest; do
 done
 
 # user sessions must start after graphical target
+# WARNING: this overwrites the file distributed in RPM user-session-units
 cat >/usr/lib/systemd/system/user-session-launch@.service << EOF
 [Unit]
 Description=User Session Launcher
-After=systemd-user-sessions.service systemd-logind.service display-manager.service
-Requires=systemd-logind.service display-manager.service
+After=systemd-user-sessions.service systemd-logind.service display-manager.path
+Requires=systemd-logind.service display-manager.path
 
 [Service]
 ExecStartPre=/usr/bin/sleep 3