lparam/xSocks

Issues of xsocksd and xtunnel

angusding opened this issue · 5 comments

OS: CentOS 6.4

  1. The options of "-p pidfile" is not effective on xsocksd but effective on xtunnel.
    So I have to mkdir the directory /var/run/xsocks.
  2. The options of "-s signal/--signal " is not effective on xtunnel but effective on xsocksd.
    So I have to kill its process to stop ti.
  3. Some options of usage maybe need "<>" like "-p" and "-s" (xtunnel) .
  1. /var/run/xsocks is the default path, Normally, you have create the directory like:
    sudo mkdir /var/run/xsocks && chown LoginName:Group /var/run/xsocks
    . xsocksd -p option works fine on my machine. what's the log output?
  2. fixed on develop branch.
  3. -p don't need <>, xtunnel -s change to xtunnel --signal now.

I want to set pidfile to my custom path(/var/run) for xsocksd and xtunnel. but no effective after set it in scripts.

/var/run need root permission

My shadwosocks server starting as nobody user but it can create pid file and log file by root user.
So I think it will be all right if I change default directory for pid file.