The --daemonize option is removed from Sauce Connect 4.4 onward. We now recommend using the operating system’s features or third party utilities to daemonize Sauce Connect.
MacOSX, Fedora, Redhat, and CentOS
We recommend the daemonize utility. You can install it like this on Mac:
# brew install daemonize
For RedHat based Linux distribution use yum:
# yum install daemonize
Redhat Enterprise and Fedora should have daemonize packaged and ready to install via yum. CentOS doesn’t ship with daemonize, but cert.org has packages. Just replace version with your distribution’s major version number:
Once daemonize is installed, you can start Sauce Connect as a daemon like this:
# daemonize /path/to/sc
Look at the manual page for more information about how to use daemonize.
Debian and Ubuntu
Customers using a Debian-based Linux distribution like Ubuntu can use the daemon program to start Sauce Connect as a daemon:
To install the daemon:
# apt-get install daemon
If you started Sauce Connect like this before:
# ./sc --daemonize ...
Instead you can do:
# daemon -- $(pwd)/sc
which will have a similar effect.
Note: Pass the full path to the Sauce Connect binary or it won’t work.