nebula.plugin.ospackage.daemon.DaemonDefinition.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nebula-ospackage-plugin Show documentation
Show all versions of nebula-ospackage-plugin Show documentation
Opinionated plugins that wrap the gradle-ospackage-plugin
package nebula.plugin.ospackage.daemon
import groovy.transform.Canonical
/**
* Template variables. Fields start off empty an only at
*/
@Canonical
class DaemonDefinition {
String daemonName // defaults to packageName
String command // Required
String user // defaults to "root"
String logCommand // defaults to "multilog t ./main"
List runLevels = new LinkedList<>() // rpm default == [3,4,5], deb default = [2,3,4,5]
Boolean autoStart // default true
Integer startSequence // default 85
Integer stopSequence // default 15
}