If you install the proxy to a AIX® 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 an AIX computer:
- Open the command prompt.
- 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.
- Log in as superuser, if you are not already
logged in as superuser.
- Copy the script optimproxy to the /etc/rc.d/init.d directory.
- Enter the following commands at the command prompt.
cd /etc/rc.d/init.d
chmod 755 optimproxy
ln -s optimproxy /etc/rc.d/rc2.d/S99optimproxy
ln -s optimproxy /etc/rc.d/rc2.d/K01optimproxy
To start the daemon, log in as superuser and enter the
following command at the command prompt.
/etc/rc.d/init.d/optimproxy start
To
stop the daemon, log in as superuser and enter the following command
at the command prompt.
/etc/rc.d/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/rc.d/init.d/optimproxy stop
rm /etc/rc.d/rc2.d/S99optimproxy
rm /etc/rc.d/rc2.d/K01optimproxy
rm /etc/rc.d/init.d/optimproxy