16 Mar
2017
16 Mar
'17
11:11
On 2017-03-15 14:13, Per Jessen wrote:
Andreas Mahel wrote:
On 15.03.2017 11:46, Per Jessen wrote:
Roger Oberholtzer wrote:
I guess /usr/lib/systemd/system/apache2.service will be replaced if apache2 is updated?
You could have added a drop-in config file instead.
/etc/systemd/system/apache2.service.d/dropin.conf
Cool, thanks for the pointer (once you know the correct naming, googling it gets a lot easier).
Afterwards, "systemctl cat <service>" is very useful to see if your drop-in has been picked up.
For my education, what would have that conf file? Just: Restart=on-failure RestartSec=30 and that's all? -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith))