blob: 87211d5a141bd5542399c672482ad980379f5390 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
[Unit]
Description=Deepcool LM360 LCD Display Driver
After=systemd-udev-settle.service lm_sensors.service
Wants=lm_sensors.service
[Service]
Type=simple
ExecStart=/usr/local/bin/deepcool-lm monitor --interval 2
Restart=always
RestartSec=10
StandardOutput=journal
StandardError=journal
# Run as root (required for USB access)
User=root
# Clean up stale socket file before starting
ExecStartPre=-/bin/rm -f /var/run/deepcool-lm.sock
[Install]
WantedBy=sysinit.target
|