summarylogtreecommitdiffstats
path: root/opentabletdriver.service
diff options
context:
space:
mode:
authorLavaDesu2021-01-28 22:05:08 +0700
committerLavaDesu2021-01-28 22:11:47 +0700
commit16b9f5026738b59208fdd74d660efb6b49388272 (patch)
treea09e0909a8ba10e09682b2ed8fae4a77f5c40ed6 /opentabletdriver.service
parent50ee5dba0605d7f422d445cecdd38f4a28cc615d (diff)
downloadaur-16b9f5026738b59208fdd74d660efb6b49388272.tar.gz
Improve systemd service
Diffstat (limited to 'opentabletdriver.service')
-rw-r--r--opentabletdriver.service12
1 files changed, 5 insertions, 7 deletions
diff --git a/opentabletdriver.service b/opentabletdriver.service
index 95dc3b116ac..a31e87055d7 100644
--- a/opentabletdriver.service
+++ b/opentabletdriver.service
@@ -1,14 +1,12 @@
[Unit]
Description=OpenTabletDriver Daemon
-After=graphical.target
-PartOf=graphical.target
-StartLimitIntervalSec=60
-StartLimitBurst=2
+StartLimitIntervalSec=300
+StartLimitBurst=5
[Service]
ExecStart=/usr/bin/otd
-Restart=always
-RestartSec=10s
+Restart=on-failure
+RestartSec=8s
[Install]
-WantedBy=graphical.target
+WantedBy=multi-user.target