4 ms·
> Got any examples of that? Not the person you were talking to, but looking at certbot, it puts files into /lib/systemd/system/ and /etc/cron.d/ with root:root
by plopz 8y ago
> Got any examples of that?
Not the person you were talking to, but looking at certbot, it puts files into /lib/systemd/system/ and /etc/cron.d/ with root:root.
- laumars 8y agoThank you. I've not used certbot so excuse the dumb question, but is certbot doing that during install (ie via the package manager) or during program execution (ie when the certbot ELF is launched)? I shouldn't expect too much in /lib/systemd/system is installed outside of package managers but I agree it does happen and at least they're generally quite easy to identify which service file does what. crontab is definitely one of those nasty things that can often get forgotten about though (and I speak from unfortunate experience there hah!) We're really drifting into the domain of Puppet and it's ilk now though.
- plopz 8y agoI'm not sure when those files get created, I just knew about that example off the top of my head because I had to spend some time figuring out why our post-renew hook wasn't working. dpkg -L helps a lot when figuring out where all the files get spread.
- laumars 8y ago> dpkg -L helps a lot when figuring out where all the files get spread. Well yeah, that was the central point of this conversation :)