summarylogtreecommitdiffstats
path: root/hyperion.systemd
blob: 2e94f2ad10f37e81ca53547ecfe48de08246a534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=Hyperion ambient light systemd service
Documentation=https://docs.hyperion-project.org
Requisite=network.target
Wants=network-online.target
After=network-online.target
StartLimitIntervalSec=30s
StartLimitBurst=3

[Service]
Environment=DISPLAY=:0
User=%i
ExecStart=/usr/bin/hyperiond -u /etc/hyperion/
WorkingDirectory=/usr/share/hyperion
TimeoutStopSec=5
KillMode=mixed
Restart=always
RestartSec=2

[Install]
WantedBy=multi-user.target