aboutsummaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-config/agl-session/files/agl-session@.service
blob: 61afa4141258f3a55d9f896fccbe7a8673aee65f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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