[Kea-users] Systemd dependencies for databases

Pavel Zhukov pzhukov at redhat.com
Mon Jun 21 05:50:29 UTC 2021


Hello,

Copy your kea service file to /etc/systemd/system/ edit it and add
After=postgresql.service
into [Service] section

It' possible to change original file as well but it'll be 
overwritten
with next update

On 2021-06-18 at 13:44 CEST, Simon Brown wrote...
> Hello,
>
> I currently testing kea with Postgres and have both running in 
> the same 
> container. If I reboot the container Kea starts before Postgres 
> and fails and 
> I have to do a restart dance with all the kea and stork 
> services. 
>
> Is there a way to get Kea to wait for DB startup? There's no 
> obvious systemd 
> target. I'm using the ubuntu packages on 20.04.
>
> Simon


-- 
Pavel



More information about the Kea-users mailing list