GNU bug report logs - #54151
gnu: Add #:log-file option when starting openvpn shepherd services

Previous Next

Package: guix-patches;

Reported by: Cameron Chaparro <cameron <at> cameronchaparro.com>

Date: Thu, 24 Feb 2022 22:25:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 54151-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Cameron Chaparro <cameron <at> cameronchaparro.com>
Cc: 54151-done <at> debbugs.gnu.org
Subject: Re: bug#54151: gnu: Add #:log-file option when starting openvpn
 shepherd services
Date: Thu, 03 Mar 2022 23:32:52 +0100
Hi,

Cameron Chaparro <cameron <at> cameronchaparro.com> skribis:

> +++ b/gnu/services/vpn.scm
> @@ -9,6 +9,7 @@
>  ;;; Copyright © 2021 Raghav Gururajan <rg <at> raghavgururajan.name>
>  ;;; Copyright © 2021 jgart <jgart <at> dismail.de>
>  ;;; Copyright © 2021 Nathan Dehnel <ncdehnel <at> gmail.com>
> +;;; Copyright © 2022 Cameron V Chaparro <cameron <at> 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)))))))

I adjusted the commit log and applied it, thanks!

Ludo’.




This bug report was last modified 3 years and 80 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.