git: 69fd1403a4b4 - main - security/openvpn-auth-oauth2: Restart the daemon after 5 seconds
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 May 2025 10:37:28 UTC
The branch main has been updated by otis:
URL: https://cgit.FreeBSD.org/ports/commit/?id=69fd1403a4b40e19637c449e22415d74be6d418f
commit 69fd1403a4b40e19637c449e22415d74be6d418f
Author: Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2025-05-30 10:36:30 +0000
Commit: Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2025-05-30 10:36:30 +0000
security/openvpn-auth-oauth2: Restart the daemon after 5 seconds
Restart the openvpn-auth-oauth2 daemon after 5 seconds when
it exits, for example, after openvpn daemon restart.
---
security/openvpn-auth-oauth2/Makefile | 2 +-
security/openvpn-auth-oauth2/files/openvpn_auth_oauth2.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/security/openvpn-auth-oauth2/Makefile b/security/openvpn-auth-oauth2/Makefile
index 0d58c182a0d8..a6d1ab539d15 100644
--- a/security/openvpn-auth-oauth2/Makefile
+++ b/security/openvpn-auth-oauth2/Makefile
@@ -1,7 +1,7 @@
PORTNAME= openvpn-auth-oauth2
DISTVERSIONPREFIX= v
DISTVERSION= 1.23.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security net net-vpn
MAINTAINER= otis@FreeBSD.org
diff --git a/security/openvpn-auth-oauth2/files/openvpn_auth_oauth2.in b/security/openvpn-auth-oauth2/files/openvpn_auth_oauth2.in
index 40015f4a8e4a..269bd93d765b 100644
--- a/security/openvpn-auth-oauth2/files/openvpn_auth_oauth2.in
+++ b/security/openvpn-auth-oauth2/files/openvpn_auth_oauth2.in
@@ -32,7 +32,7 @@ eval ": \${${name}_config:=%%ETCDIR%%/openvpn-auth-oauth2.yml}"
load_rc_config "${name}"
_openvpn_auth_oauth2="%%PREFIX%%/sbin/openvpn-auth-oauth2"
-_common_daemon_args=-Sfc
+_common_daemon_args="-Sfc -r -R 5"
_piddir=/var/run/openvpn-auth-oauth2
# Set PID file