In https://github.com/SoftEtherVPN/SoftEth ... LD_UNIX.md - Specify log, config, PID directories I read
To specify directories, perform ./configure like below.
Code: Select all
CMAKE_FLAGS="-DSE_PIDDIR=/run/softether -DSE_LOGDIR=/var/log/softether -DSE_DBDIR=/var/lib/softether" ./configure
Code: Select all
cd /usr/src
git clone https://github.com/SoftEtherVPN/SoftEtherVPN_Stable.git
cd SoftEtherVPN_Stable/
git submodule init && git submodule update
mkdir -p /var/log/softether && mkdir -p /var/lib/softether && mkdir -p /run/softether
CMAKE_FLAGS="-DSE_PIDDIR=/run/softether -DSE_LOGDIR=/var/log/softether -DSE_DBDIR=/var/lib/softether" ./configure
make
make install
What am I doing wrong? How can I have the logs in /var/log ?