Greetings, I am trying to configure a wildfly daemon to restart whenever postgresql restarts (which happens sometimes due to Debian's unattended-upgrades). I tried to solve this by putting "PartOf=postgresql.service" in /etc/systemd/system/wildfly.service.
The problem is that postgresql.service can have multiple instances like postgresql@14-main.service and postgresql@15-main.service, as a new instance is created with each version upgrade. When this happens, the main service postgresql.service actually isn't being restarted. Is it possible to configure wildfly to be restarted when ANY of the postgresql instances restart? Cheers! Jonathan -- OpenPGP Key: 47BC7DE83D462E8BED18AA861224DBD299A4F5F3 https://www.parckwart.de/pgp_key