Added promises to reload and restart nslcd when appropriate