Subject: Re: bug#54151: gnu: Add #:log-file option when starting openvpn shepherd services

From: Ludovic Courtès <[email-masked]>
Date: Thu, 03 Mar 2022 23:32:52 +0100

Hi,

Cameron Chaparro <[email-masked]> skribis:

> +++ b/gnu/services/vpn.scm
> @@ -9,6 +9,7 @@
>  ;;; Copyright © 2021 Raghav Gururajan <[email-masked]>
>  ;;; Copyright © 2021 jgart <[email-masked]>
>  ;;; Copyright © 2021 Nathan Dehnel <[email-masked]>
> +;;; Copyright © 2022 Cameron V Chaparro <[email-masked]>
>  ;;;
>  ;;; 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)))))))

I adjusted the commit log and applied it, thanks!

Ludo’.