// Note: Don't use supervisord.conf, otherwise supervisorctl will fail with:
// "Error: .ini file does not include supervisorctl section"
addChild(TemplatedFile.build(template, new File(instanceDir, "supervisor.conf")).setFileMode("0444"));
{
ManagedSymlink symlink = ManagedSymlink.build(
new File("/etc/supervisor/conf.d/" + supervisorKey + ".conf"), new File(instanceDir,
"supervisor.conf"));
addChild(symlink);
}