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

Use openvpn status path from systemd service #756

Merged
merged 1 commit into from Feb 22, 2021
Merged

Conversation

randshell
Copy link
Contributor

The new systemd service at /usr/lib/systemd/system/openvpn-server@.service that comes with openvpn 2.4 includes the status option in ExecStart=/usr/sbin/openvpn --status %t/openvpn-server/status-%i.log --status-version 2 --suppress-timestamps --config %i.conf

Using this default allows to have multiple servers with their own status files and all in the same log directory. Example /run/openvpn-server/status-server.log /run/openvpn-server/status-server2.log

The new systemd service at `/usr/lib/systemd/system/openvpn-server@.service` that comes with openvpn 2.4 includes the status option in `ExecStart=/usr/sbin/openvpn --status %t/openvpn-server/status-%i.log --status-version 2 --suppress-timestamps --config %i.conf`

Using this default allows to have multiple servers with their own status files and all in the same log directory. Example `/run/openvpn-server/status-server.log` `/run/openvpn-server/status-server2.log`
@randshell
Copy link
Contributor Author

Hi @Nyr,

Could you please provide a feedback on these PRs when you have some free time?

Thanks!

Copy link

@TinCanTech TinCanTech left a comment

Choose a reason for hiding this comment

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

This is the correct way to use the service file.

@Nyr Nyr merged commit cb8730b into Nyr:master Feb 22, 2021
@Nyr
Copy link
Owner

Nyr commented Feb 22, 2021

Thanks a lot for this and sorry for the big delay.

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.

None yet

3 participants