Skip to content
Permalink
Branch: master-oci
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (5 sloc) 277 Bytes
SYSTEMD_AUTO_ENABLE = "enable"
do_install_append() {
sed -i -e 's/\(After=.*$\)/\1 systemd-resolved.service/' ${D}${systemd_unitdir}/system/dnsmasq.service
sed -i -e '/^ExecStart.*$/a\Restart=on-failure\nRestartSec=30s' ${D}${systemd_unitdir}/system/dnsmasq.service
}
You can’t perform that action at this time.