summaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-graphics/wayland/agl-compositor-init/agl-compositor.service.in
blob: 2d0195184d689a5f103c5068e521ae527abef633 (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
#
# 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
ExecStart=/usr/bin/agl-compositor @AGL_COMPOSITOR_ARGS@

TimeoutStartSec=60
WatchdogSec=20

StandardOutput=journal
StandardError=journal

[Install]
WantedBy=agl-session.target