Skip to content

Commit

Permalink
Force socket to start if the service will be active
Browse files Browse the repository at this point in the history
Since the tftp service needs it socket running to start gracefully.
  • Loading branch information
dgdavid committed Mar 21, 2019
1 parent 897baa0 commit 2c8583a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/TftpServer.rb
Expand Up @@ -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

Expand Down

0 comments on commit 2c8583a

Please sign in to comment.