summarylogtreecommitdiffstats
path: root/opentabletdriver.service
diff options
context:
space:
mode:
Diffstat (limited to 'opentabletdriver.service')
-rw-r--r--opentabletdriver.service10
1 files changed, 7 insertions, 3 deletions
diff --git a/opentabletdriver.service b/opentabletdriver.service
index 19c7983b30f..95dc3b116ac 100644
--- a/opentabletdriver.service
+++ b/opentabletdriver.service
@@ -1,10 +1,14 @@
[Unit]
Description=OpenTabletDriver Daemon
+After=graphical.target
+PartOf=graphical.target
+StartLimitIntervalSec=60
+StartLimitBurst=2
[Service]
-ExecStart=/usr/bin/dotnet /usr/share/OpenTabletDriver/OpenTabletDriver.Daemon.dll -c /usr/share/OpenTabletDriver/Configurations
+ExecStart=/usr/bin/otd
Restart=always
-RestartSec=30
+RestartSec=10s
[Install]
-WantedBy=default.target \ No newline at end of file
+WantedBy=graphical.target