restart service on failure
there's a spurious EC communication issue (driver/firmware bug?), and this is the easiest fix
This commit is contained in:
parent
7d39f99fb9
commit
31be7e68a7
1 changed files with 6 additions and 0 deletions
|
@ -1,9 +1,15 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Keyboard backlight daemon
|
Description=Keyboard backlight daemon
|
||||||
|
|
||||||
|
StartLimitIntervalSec=500
|
||||||
|
StartLimitBurst=5
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=exec
|
Type=exec
|
||||||
ExecStart=/usr/local/bin/keylightd
|
ExecStart=/usr/local/bin/keylightd
|
||||||
|
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=1s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue