All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.rzo.yajsw.os.posix.bsd.BSDService Maven / Gradle / Ivy

Go to download

YAJSW is a java centric implementation of the java service wrapper by tanuki (JSW). It aims at being mostly configuration compliant with the original. It should therefore be easy to switch from JSW to YAJSW.

The newest version!
package org.rzo.yajsw.os.posix.bsd;

import java.io.File;

import org.rzo.yajsw.os.posix.PosixService;

public class BSDService extends PosixService
{
	protected File getDaemonScript()
	{
		return new File(new File(_daemonDir), "wrapper." + getName() + ".sh");
	}

	protected String getDefaultDaemonDir()
	{
		return "/usr/local/etc/rc.d";
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy