aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd/user/flameshot.service
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user/flameshot.service')
-rw-r--r--.config/systemd/user/flameshot.service6
1 files changed, 4 insertions, 2 deletions
diff --git a/.config/systemd/user/flameshot.service b/.config/systemd/user/flameshot.service
index 431fc04..caf212e 100644
--- a/.config/systemd/user/flameshot.service
+++ b/.config/systemd/user/flameshot.service
@@ -1,12 +1,14 @@
[Unit]
Description=Screenshot tool
+StartLimitBurst=5
+StartLimitIntervalSec=600
[Service]
Type=simple
-ExecStart=/usr/bin/env flameshot
+RestartSec=3
Restart=always
-RestartSec=5s
SyslogIdentifier=flameshot
+ExecStart=/usr/bin/env flameshot
[Install]
WantedBy=default.target