Configuring the proxy as a daemon on a Solaris computer

If you install the proxy to a Solaris computer, you can configure the proxy to run as a daemon process. You can set the proxy daemon to restart automatically whenever the computer is restarted.

You must have access to a superuser or root account to complete this task.
To configure the proxy as a daemon on a Solaris computer:
  1. Open the command prompt.
  2. Enter the following commands at the command prompt, where proxy_folder is the directory in which the proxy is installed:
    cd proxy_folder
    ./setup-proxy-as-daemon.sh
    The script generates a script called optimproxy, which is saved to the proxy_folder directory.
  3. Log in as superuser, if you are not already logged in as superuser.
  4. Copy the script optimproxy to the /etc/init.d directory.
  5. Enter the following commands at the command prompt.
    cd /etc/init.d 
    chmod 755 optimproxy
    ln -s optimproxy /etc/rc3.d/S99optimproxy
    ln -s optimproxy /etc/rc3.d/K01optimproxy
To start the daemon, log in as superuser and enter the following command at the command prompt.
/etc/init.d/optimproxy start
To stop the daemon, log in as superuser and enter the following command at the command prompt.
/etc/init.d/optimproxy stop
To remove the proxy daemon, log in as superuser and enter the following commands at the command prompt. Remove the proxy daemon before you uninstall the proxy.
/etc/init.d/optimproxy stop
rm /etc/rc3.d/S99optimproxy
rm /etc/rc3.d/K01optimproxy
rm /etc/init.d/optimproxy