stopsocks(1)stopsocks(1)NAMEstopsocks - A script to manage standalone socks5 daemons
SYNOPSISstopsocks [-p port][signal] [[pid]]
DESCRIPTION
The stopsocks script restarts and terminates standalone
socks5 daemons. stopsocks is most useful for stopping pre
forked daemons. Use the command
stopsocks-INT
to stop all running daemons. This will attempt to grace
fully stop socks5. If this is not successful, use the
command
stopsocks-KILL
When you omit arguments, stopsocks attempts to send an HUP
signal to the currently running socks5 daemon. The socks5
daemon stores its PID in /tmp/socks5.pid-{PORT}. You can
change the filename that socks5 uses to store its PID with
the --with-srvpidfile=filename configure option or with
the SOCKS5_PIDFILE environment variable.
port
Identifies the port number of the socks5 daemon. When you
include the -p flag as the first argument, stopsocks uses
the next argument as the port number.
signal
Specifies the signal to send to the process. Valid values
are 1 and 9:
HUP - instructs stopsocks to re-read the configura
tion file.
INT - interrupts the socks5 daemon. Allows socks5 to
gracefully stop.
KILL - kills the socks5 daemon. The kill signal can
not be blocked.
You may optionally include PID with the signal argument.
When you omit pid, stopsocks sends signal to the currently
running socks5 daemon.
pid Specifies the process that receives signal
SEE ALSOsocks5(1)AUTHOR
NWSL SOCKS5 Development Team
Send comments to socks5-comments@socks.nec.com
1 Oct 1998 stopsocks(1)