reloading postfix after certificate-renew

pmf

New Member
Nov 21, 2019
1
0
1
46
is there a smart way to reload postfix after the certificates have been renewed? i understand that pve-daily-update.timer starts pve-daily-update.service which runs /usr/bin/pveupdate. but there is no renew-hook-option like in certbot (as far as i can see).

so change pve-daily-update.service and use something like ExecStartPost and reload postfix daily? or are there better ways to do this?

thanks in advance.
 
so change pve-daily-update.service and use something like ExecStartPost and reload postfix daily? or are there better ways to do this?
This works as long as the unit file isn't updated. Maybe a separate cronjob/systemd-timer with a small script might help.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!