mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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:
parent
bb41642077
commit
48bd8b408e
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue