From: ludo@gnu.org (Ludovic Courtès)
To: Oleg Pykhalov <go.wigust@gmail.com>
Cc: 32141@debbugs.gnu.org
Subject: [bug#32141] [PATCH] services: Add ddclient service.
Date: Thu, 19 Jul 2018 11:40:36 +0200 [thread overview]
Message-ID: <87lga7wokr.fsf@gnu.org> (raw)
In-Reply-To: <20180713145854.12250-1-go.wigust@gmail.com> (Oleg Pykhalov's message of "Fri, 13 Jul 2018 17:58:54 +0300")
Hi Oleg,
Oleg Pykhalov <go.wigust@gmail.com> skribis:
> * gnu/services/dns.scm (ddclient-configuration, opaque-ddclient-configuration,
> ddclient-service-type): New variables.
> (uglify-field-name, serialize-field, serialize-boolean, serialize-integer,
> serialize-string, serialize-list, serialize-extra-options,
> ddclient-activation, ddclient-shepherd-service,
> generate-ddclient-documentation, generate-opaque-ddclient-documentation): New
> procedures.
> * doc/guix.texi (DNS Services): Document it.
[...]
> +@subsubheading ddclient Service
> +
> +@cindex ddclient
> +@uref{https://sourceforge.net/projects/ddclient/, ddclient} is an address
> +updating utility for dynamic DNS services.
It would be nice to expound a bit, like:
The ddclient service described below runs the ddclient daemon, which
takes care of automatically updating DNS entries for service providers
such as DynDNS.com.
Also, is there a better home page?
Otherwise LGTM!
> + (list (shepherd-service
> + (provision '(ddclient))
> + (documentation "Run ddclient daemon.")
> + (start #~(make-forkexec-constructor
> + (list #$(file-append ddclient "/bin/ddclient")
> + "-foreground" "-file" "/etc/ddclient/ddclient.conf"
> + "-debug" "-verbose")
> + #:pid-file #$pid
> + #:environment-variables
> + (list "SSL_CERT_DIR=/run/current-system/profile\
> +/etc/ssl/certs"
> + "SSL_CERT_FILE=/run/current-system/profile\
> +/etc/ssl/certs/ca-certificates.crt")))
> + (stop #~(make-kill-destructor))))))
Does it run as root? If there’s no option to run it (mostly) as
non-root, perhaps it would make sense to try using
‘make-forkexec-constructor/container’ here (as a separate patch.)
WDYT?
Thank you,
Ludo’.
next prev parent reply other threads:[~2018-07-19 9:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-13 14:58 [bug#32141] [PATCH] services: Add ddclient service Oleg Pykhalov
2018-07-19 9:40 ` Ludovic Courtès [this message]
2018-07-25 7:22 ` Oleg Pykhalov
2018-07-26 8:51 ` Ludovic Courtès
2018-08-01 17:27 ` Oleg Pykhalov
2018-08-27 11:22 ` Ludovic Courtès
2018-08-29 22:45 ` bug#32141: " Oleg Pykhalov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lga7wokr.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=32141@debbugs.gnu.org \
--cc=go.wigust@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.