guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/08: services: openvpn: Actually save log file.


From: guix-commits
Subject: 05/08: services: openvpn: Actually save log file.
Date: Thu, 3 Mar 2022 18:00:21 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 48bd8b408e1de93e8dc8bf134942b7b6141fc6ad
Author: Cameron Chaparro <cameron@cameronchaparro.com>
AuthorDate: Thu Feb 24 15:49:15 2022 -0600

    services: openvpn: Actually save log file.
    
    * gnu/services/vpn.scm (openvpn-shepherd-service): Pass #:log-file to
    'make-forkexec-constructor'.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/services/vpn.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/services/vpn.scm b/gnu/services/vpn.scm
index 3e370ba4be..b24e9cffb3 100644
--- a/gnu/services/vpn.scm
+++ b/gnu/services/vpn.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
 ;;; Copyright © 2021 Nathan Dehnel <ncdehnel@gmail.com>
+;;; Copyright © 2022 Cameron V Chaparro <cameron@cameronchaparro.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -494,7 +495,8 @@ is truncated and rewritten every minute.")
                        (list (string-append #$openvpn "/sbin/openvpn")
                              "--writepid" #$pid-file "--config" #$config-file
                              "--daemon")
-                       #:pid-file #$pid-file))
+                       #:pid-file #$pid-file
+                       #:log-file #$log-file))
              (stop #~(make-kill-destructor)))))))
 
 (define %openvpn-accounts



reply via email to

[Prev in Thread] Current Thread [Next in Thread]