http://forums.fedoraforum.org/showthread.php?t=295309
http://coreymaynard.com/blog/creating-a-custom-initd-script-on-fedora/
After installing synergy, starting server on each boot can be convenient.
So $ls /etc/rc.d/ and there was no rc.local.
#cat /etc/rc.d/init.d/README; says use systemctl
However, making rc.local under rc.d/ directory should still work.
#touch /etc/rc.d/rc.local
#nano /etc/rc.d/rc.local
#!/bin/bash
# this start script will run synergy
synergys -c /etc/synergy.conf
logger "Synergy server has started"
save and exit
#chmod +x /etc/rc.d/rc.local
then reboot
No comments:
Post a Comment