package org.cloudcoder.webserver;

import org.cloudcoder.daemon.DaemonController;
import org.cloudcoder.daemon.IDaemon;

/**
 * Implementation of {@link DaemonController} for the CloudCoder webapp.
 * 
 * @author David Hovemeyer
 */
public class CloudCoderDaemonController extends DaemonController {
	@Override
	public String getDefaultInstanceName() {
		return "instance";
	}

	@Override
	public Class<? extends IDaemon> getDaemonClass() {
		return CloudCoderDaemon.class;
	}
}

@@ -470,10 +470,232 @@
 ass;%0A%09%7D%0A
+%09%0A%09@Override%0A%09protected Options createOptions() %7B%0A%09%09// Put the stdout log in the %22logs%22 directory.%0A%09%09return new Options() %7B%0A%09%09%09@Override%0A%09%09%09public String getStdoutLogFileName() %7B%0A%09%09%09%09return %22logs/stdout.log%22;%0A%09%09%09%7D%0A%09%09%7D;%0A%09%7D%0A
 %7D%0A

create the stdout logfile in the "logs" directory