Make Synergy a daemon/service


#!/bin/sh

case “${1}” in

start)

synergyc 192.168.0.xxx <- this is the IP of your synergy server
;;

stop)

pkill synergyc
;;

status)

pidof -o %PPID synergyc
;;

*)

exit 1
;;

esac

Thank you to my coworker Troy. Synergy rocks. I’m using this to connect my windows desktop to my Fedora 16 desktop. remember that Synergy uses port 24800.

EDIT: Fixed the tabbing.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s