Service Configuration

@Entity
open class ServiceConfiguration : EquinoxItem

The ServiceConfiguration class is useful to represent the configuration related to a BrownieHostService

Author

N7ghtm4r3 - Tecknobit

See also

EquinoxItem

Constructors

Link copied to clipboard
constructor()
Constructor to instantiate the object
constructor(id: String, programArguments: String, purgeNohupOutAfterReboot: Boolean, autoRunAfterHostReboot: Boolean)
Constructor to instantiate the object

Properties

Link copied to clipboard
autoRunAfterHostReboot whether the service must be automatically restarted after the host start or the host restart
Link copied to clipboard
Link copied to clipboard
protected val hItem: JsonHelper
Link copied to clipboard
protected val id: String
Link copied to clipboard
programArguments the program arguments of the service
Link copied to clipboard
purgeNohupOutAfterReboot whether the nohup.out file related to the service must be deleted at each service start
Link copied to clipboard
private open var service: BrownieHostService
service the host owner of the configuration

Functions

Link copied to clipboard
Method to get the autoRunAfterHostReboot instance
Link copied to clipboard
open fun getId(): String
Link copied to clipboard
Method to get the purgeNohupOutAfterReboot instance
Link copied to clipboard
open fun toString(): String