Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change log directory in docker-compose #6

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Change log directory in docker-compose #6

wants to merge 4 commits into from

Conversation

weidi
Copy link
Collaborator

@weidi weidi commented Feb 25, 2024

No description provided.

- "./softether_securitylog:/root/security_log"
- "./softether_log:/usr/local/bin/server_log"
- "./softether_packetlog:/usr/local/bin/packet_log"
- "./softether_securitylog:/usr/local/bin/security_log"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are those log folders good to keep in /usr/loca/bin ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this is the default of vpnserver i just did not want to mess around with it but for sure they should go to /var/log.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any way to alter this right on startup or would it make sense to built this right into vpnserver?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it might be changed during build

These directories can be changed at compile-time by specifying via CMake variables.
* `SE_PIDDIR` - PID directory
* `SE_LOGDIR` - root log directory
* `SE_DBDIR`  - config files and variable state directory

@chipitsine
Copy link
Member

chipitsine commented Feb 25, 2024

btw, I see that "docker/xxx" actions are not the most recent available.
should we update them ?

(while this is not related to current PR)

@j123b567
Copy link

The README.md file should also be changed accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants