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


Groups > linux.debian.user > #202870

Re: certbot options

From Bastien Durel <bastien@durel.org>
Newsgroups linux.debian.user
Subject Re: certbot options
Date 2018-11-28 15:10 +0100
Message-ID <wZ8Hn-5vx-9@gated-at.bofh.it> (permalink)
References <wZ8o2-59a-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le mercredi 28 novembre 2018 à 13:29 +0000, Michael Grant a écrit :
> In /lib/systemd/system/certbot.service
>  
> The line to start certbot is:
> ExecStart=/usr/bin/certbot -q renew
>  
> If I modify this file by hand:
>  
> ExecStart=/usr/bin/certbot -q --pre-hook /usr/local/bin/certbot-
> prehook.sh renew
>  
> The next time certbot is updated by apt, this file gets overwritten
> and my change goes away.
>  
> Could someone please tell me the proper place to modify certbot’s
> default arg list or is there some systemctl command I should be doing
> instead of modifying this file directly?  Or.... is this a bug and
> apt-get should warn me before overwriting this file on update?
>  
Hello,

You can put an override file in
/etc/systemd/system/certbot.service.d/override.conf

systemctl edit certbot.service should create it for you

-- 
Bastien

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