aboutsummaryrefslogtreecommitdiff
path: root/recipes-misc/de10-nano-synergy-init/files/de10-nano-synergy-init.service
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-misc/de10-nano-synergy-init/files/de10-nano-synergy-init.service')
-rw-r--r--recipes-misc/de10-nano-synergy-init/files/de10-nano-synergy-init.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-misc/de10-nano-synergy-init/files/de10-nano-synergy-init.service b/recipes-misc/de10-nano-synergy-init/files/de10-nano-synergy-init.service
new file mode 100644
index 0000000..ccea7d7
--- /dev/null
+++ b/recipes-misc/de10-nano-synergy-init/files/de10-nano-synergy-init.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Start synergy client
+After=de10-nano-xfce-init.service systemd-networkd-wait-online.service
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/synergyc --restart --daemon 192.168.7.5
+Restart=always
+RestartSec=5
+
+[Install]
+WantedBy=basic.target