summarylogtreecommitdiffstats
path: root/sundtek-restart.service
diff options
context:
space:
mode:
Diffstat (limited to 'sundtek-restart.service')
-rw-r--r--sundtek-restart.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/sundtek-restart.service b/sundtek-restart.service
new file mode 100644
index 000000000000..5c671569b964
--- /dev/null
+++ b/sundtek-restart.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Restart Sundtek MediaTV Pro driver after resume
+Requisite=sundtek.service
+After=sleep.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/systemctl restart sundtek.service
+
+[Install]
+WantedBy=sleep.target