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

Add support for pid file #290

Open
McLeod095 opened this issue Nov 18, 2024 · 0 comments
Open

Add support for pid file #290

McLeod095 opened this issue Nov 18, 2024 · 0 comments

Comments

@McLeod095
Copy link

It is necessary to add support for the PID file so that it can be used in Preup PostDown wg-quick scripts
for example, in the same shadowsocks there is a flag -f that writes the PID to this file and which can be used when turning off the VPN by executing the command
PostDown=kill -9 $(cat /tmp/shadowsocks.pid)

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

No branches or pull requests

1 participant