diff options
author | Cameron Chaparro <cameron@cameronchaparro.com> | 2022-02-24 15:49:15 -0600 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-03-03 23:57:01 +0100 |
commit | 48bd8b408e1de93e8dc8bf134942b7b6141fc6ad (patch) | |
tree | 3deada17d60408dcc8cd244830f897f3896c3e8e | |
parent | bb41642077b67cd975d073e7904a90c67569ff56 (diff) | |
download | guix-48bd8b408e1de93e8dc8bf134942b7b6141fc6ad.tar.gz |
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>
-rw-r--r-- | gnu/services/vpn.scm | 4 |
1 files changed, 3 insertions, 1 deletions
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 |