From 2c8583a51e5dcb04041eef9223b3ce5f3ed67c5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20D=C3=ADaz=20Gonz=C3=A1lez?= Date: Thu, 21 Mar 2019 09:32:58 +0000 Subject: [PATCH] Force socket to start if the service will be active Since the tftp service needs it socket running to start gracefully. --- src/modules/TftpServer.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/TftpServer.rb b/src/modules/TftpServer.rb index 92068bb..9fa65f0 100644 --- a/src/modules/TftpServer.rb +++ b/src/modules/TftpServer.rb @@ -199,6 +199,7 @@ def Write # so we must kill it otherwise it will be using the old parameters Yast2::Systemd::Service.find!("tftp").stop else + socket.start if service.active? service.save end