summarylogtreecommitdiffstats
path: root/hyperhdr.systemd-user
blob: 035cf1450b145e381c5d3836455da2df15fcda4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=HyperHDR ambient light systemd service
StartLimitIntervalSec=30s
StartLimitBurst=30

[Service]
ExecStartPre=/bin/sh -c 'systemctl --user show-environment | grep WAYLAND_DISPLAY'
ExecStart=/usr/bin/hyperhdr
WorkingDirectory=/usr/share/hyperhdr
TimeoutStopSec=5
KillMode=mixed
Restart=always
RestartSec=10

[Install]
WantedBy=default.target