edit Service

open fun editService(serviceId: String, serviceName: String, servicePath: String, programArguments: String, purgeNohupOutAfterReboot: Boolean, autoRunAfterHostReboot: Boolean)

Method used to edit an existing service

Parameters

serviceId

The identifier of the service

serviceName

The name of the service

servicePath

The path of the service inside the filesystem of the host

programArguments

The program arguments

purgeNohupOutAfterReboot

Whether the nohup.out file related to the service must be deleted at each service start

autoRunAfterHostReboot

Whether the service must be automatically restarted after the host start or the host restart