Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #202869

Re: certbot options

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: certbot options
Date 2018-11-28 15:10 +0100
Message-ID <wZ8Hn-5vx-3@gated-at.bofh.it> (permalink)
References <wZ8o2-59a-7@gated-at.bofh.it> <wZ8xI-5cN-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Nov 28, 2018 at 04:52:30PM +0300, Reco wrote:
> cp /lib/systemd/system/certbot.service /etc/systemd/system/certbot.service
> $EDITOR /etc/systemd/system/certbot.service
> systemctl daemon-reload

Or, for a targeted change like this one, use the drop-in directory.

https://wiki.debian.org/systemd#Creating_or_altering_services

Since you're altering ExecStart here, there is a *special* "feature"
of systemd that you must be aware of, which is not clearly documented.
You're allowed to have multiple ExecStart= lines for a service, so
if you simply put more ExecStart=... lines in a drop-in directory
config file, they are appended to a list, and you end up trying to run
ALL of them.

If you want to replace the service's list of ExecStart lines with
your own list, as we do here, then the service's list has to be
cleared first.

Thus:

[Service]
ExecStart=
ExecStart=/your/own --command --goes here

<https://askubuntu.com/a/659268> explains this in more detail.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

certbot options Michael Grant <mgrant@grant.org> - 2018-11-28 14:50 +0100
  Re: certbot options Reco <recoverym4n@enotuniq.net> - 2018-11-28 15:00 +0100
    Re: certbot options Greg Wooledge <wooledg@eeg.ccf.org> - 2018-11-28 15:10 +0100
  Re: certbot options Bastien Durel <bastien@durel.org> - 2018-11-28 15:10 +0100
  Re: certbot options Jim Popovitch <jim@k4vqc.com> - 2018-11-28 16:00 +0100
    RE: certbot options Michael Grant <mgrant@grant.org> - 2018-12-07 12:40 +0100
      Re: certbot options Jim Popovitch <jim@k4vqc.com> - 2018-12-07 17:10 +0100
  Re: certbot options Virgo Pärna <virgo.parna@mail.ee> - 2018-12-17 12:10 +0100

csiph-web