summaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-graphics/wayland/agl-compositor-init/agl-compositor.service.in
blob: fd56c7c3ec959e5109c437d0eb1f6fbfb111b475 (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
25
26
27
28
29
#
# Weston must be built with systemd support, and your weston.ini must load
# the plugin systemd-notify.so.

[Unit]
Description=agl-compositor, a Wayland compositor, as a systemd user service
Documentation=https://docs.automotivelinux.org/en/master/#5_Component_Documentation/1_agl-compositor/

# Activate using a systemd socket
Requires=agl-compositor.socket
After=agl-compositor.socket

# Since we are part of the agl session, make sure we are started before
# it is complete.
Before=agl-session.target

[Service]
Type=notify
EnvironmentFile=-/etc/default/agl-compositor
ExecStart=/usr/bin/agl-compositor @AGL_COMPOSITOR_ARGS@

TimeoutStartSec=60
WatchdogSec=20

StandardOutput=journal
StandardError=journal

[Install]
WantedBy=agl-session.target