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.