aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd/user/autocutsel.service
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user/autocutsel.service')
-rw-r--r--.config/systemd/user/autocutsel.service7
1 files changed, 5 insertions, 2 deletions
diff --git a/.config/systemd/user/autocutsel.service b/.config/systemd/user/autocutsel.service
index 82e822b..5d93368 100644
--- a/.config/systemd/user/autocutsel.service
+++ b/.config/systemd/user/autocutsel.service
@@ -1,13 +1,16 @@
[Unit]
Description=Keep the X clipboard and the cutbuffer in sync
+StartLimitBurst=5
+StartLimitIntervalSec=600
+
[Service]
Type=forking
-RestartSec=3s
+RestartSec=3
Restart=always
SyslogIdentifier=autocutsel
-ExecStartPre=/usr/bin/env autocutsel -f -s PRIMARY
ExecStart=/usr/bin/env autocutsel -f -s CLIPBOARD
+ExecStartPre=/usr/bin/env autocutsel -f -s PRIMARY
[Install]
WantedBy=default.target