ITDevLtd / MCVirt

MCVirt - Command line virtual machine management utility
http://mcvirt.itdev.co.uk
GNU General Public License v2.0
24 stars 7 forks source link

Create lock during certificate generation #319

Open MatthewJohn opened 6 years ago

MatthewJohn commented 6 years ago

This will stop both the nameserver and daemon from trying to generate certificates if both started at the same time.

MatthewJohn commented 6 years ago

In #343, the check script (used during the init script) has been expended to check for the DH file, when starting the nameserver. This is the last certificate to be created during boot. This will help during a service mcvirt-ns start && service mcvirtd start It will not help if they are started at the same time

MatthewJohn commented 6 years ago

This can be done later, as the work in #343 is good for now, I think.