FS#59594 - unbound - error in /usr/lib/systemd/system/unbound.service

Attached to Project: Arch Linux
Opened by Pavel (bartender) - Thursday, 09 August 2018, 22:33 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 09 August 2018, 22:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This is unbound 1.7.3.
Current .service file contents:

# /usr/lib/systemd/system/unbound.service
[Unit]
Description=Unbound DNS Resolver
Wants=nss-lookup.target
Before=network-online.target nss-lookup.target
After=network.target

[Service]
ExecStart=/usr/bin/unbound
ExecReload=/bin/kill -HUP $MAINPID
Restart=always

[Install]
WantedBy=multi-user.target

It should either have -d argument in ExecStart= (debug, do not fork) or have Type=forking. -d is intended for debug, so I think Type=forking is better choice.
It's good to put PIDFile=/run/unbound.pid inside, too.
Currently this unit stops right after starting.

This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 09 August 2018, 22:35 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#59503   FS#59561   FS#59592 

Loading...