aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd/user/x11vnc.service
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user/x11vnc.service')
-rw-r--r--.config/systemd/user/x11vnc.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/systemd/user/x11vnc.service b/.config/systemd/user/x11vnc.service
index 98e6fe7..1e0ce0c 100644
--- a/.config/systemd/user/x11vnc.service
+++ b/.config/systemd/user/x11vnc.service
@@ -1,10 +1,11 @@
[Unit]
Description=Remote desktop service (VNC)
-StartLimitIntervalSec=0
+StartLimitBurst=5
+StartLimitIntervalSec=600
[Service]
Type=simple
-RestartSec=1s
+RestartSec=3
Restart=always
SyslogIdentifier=x11vnc
ExecStart=/usr/bin/env x11vnc -display $DISPLAY -rfbport 5900 -shared -usepw -forever -nowireframe -norepeat -noxdamage -noxrecord -ncache_cr -noxfixes -auth $XAUTHORITY