diff options
Diffstat (limited to 'meta-app-framework/recipes-config/agl-session/files/agl-session@.service')
-rw-r--r-- | meta-app-framework/recipes-config/agl-session/files/agl-session@.service | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-app-framework/recipes-config/agl-session/files/agl-session@.service b/meta-app-framework/recipes-config/agl-session/files/agl-session@.service new file mode 100644 index 000000000..61afa4141 --- /dev/null +++ b/meta-app-framework/recipes-config/agl-session/files/agl-session@.service @@ -0,0 +1,24 @@ +[Unit] +Description=AGL user session +After=systemd-user-sessions.service +Wants=dbus.socket +After=dbus.socket +After=session-c1.scope +Before=multi-user.target + +[Service] +Environment=XDG_SESSION_TYPE=wayland +ExecStart=/bin/systemctl --wait --user start agl-session.target +TimeoutStartSec=30 +# This is a template service, instantiate for desired user's name or uid +User=%i +PAMName=login +WorkingDirectory=~ +StandardInput=tty-fail +StandardOutput=journal +StandardError=journal +Restart=always +RestartSec=3s + +[Install] +WantedBy=multi-user.target |