how keep unbound up if internet down ?

Tom Hendrikx tom at whyscream.net
Thu Apr 25 08:02:23 UTC 2019


On 24-04-19 16:40, Anand Buddhdev via Unbound-users wrote:
> On 24/04/2019 16:23, sean darcy via Unbound-users wrote:
> 
> Hey Sean,
> 
>> Just added Restart=on-abort to unbound.service.
>>
>> But that made me realize another issue if you're depending on systemd
>> and using a distribution, like I am : Fedora.
>>
>> Any time unbound is upgraded ( And why is Fedora 29 still at 1.8.3 ? ),
>> the unbound.service file can get replaced. So unless unbound.service is
>> changed upstream to include Restart, it may happen at an upgrade.
> 
> You need to learn more about systemd. With systemd, you can have a local
> override.
> 
> If you run "systemctl edit unbound.service" then it will open an editor
> where you can add your "Restart=on-abort". This then gets merged with
> the system-supplied unit. Your overlay is recorded in:
> 
> /etc/systemd/system/unbound.service.d/override.conf
> 
> Even if unbound is later upgraded, your local change persists.
> 
> Regards,
> Anand
> 

Additionally, you could file a bug with fedora, as this seems like a 
useful addition to the unbound rpm in general.

Kind regards,
	Tom



More information about the Unbound-users mailing list