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>
This commit is contained in:
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

View file

@ -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 @@ (define (openvpn-shepherd-service role)
(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