Systemd service files rework
[staging/HomeScreen.git] / WindowManager / conf / WindowManager.service
index b44e14e..d541635 100644 (file)
@@ -1,14 +1,16 @@
 [Unit]
 Description=AGL Window Manager
-After=weston.service
+Requires=dbus.service
+ConditionKernelCommandLine=!agl.nogfx
 
 [Service]
-Type=dbus                                
+User=root
+Type=dbus
 BusName=org.agl.windowmanager
-ExecStart=/usr/AGL/WindowManager/WindowManager
+ExecStart=/usr/AGL/HomeScreen/WindowManager
 Restart=on-failure
 RestartSec=5
-
+StandardOutput=tty
 
 [Install]
 WantedBy=default.target