me
/
guix
Archived
1
0
Fork 0

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>
Cameron Chaparro 2022-02-24 15:49:15 -06:00 committed by Ludovic Courtès
parent bb41642077
commit 48bd8b408e
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 1 deletions

View File

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