edit
Configuration
@Modifying(clearAutomatically = true
)
@Query(value = ""UPDATE " + SERVICES_CONFIGURATIONS_KEY + " SET " +
AUTO_RUN_AFTER_HOST_REBOOT_KEY + "=:" + AUTO_RUN_AFTER_HOST_REBOOT_KEY + "," +
PROGRAM_ARGUMENTS_KEY + "=:" + PROGRAM_ARGUMENTS_KEY + "," +
PURGE_NOHUP_OUT_AFTER_REBOOT_KEY + "=:" + PURGE_NOHUP_OUT_AFTER_REBOOT_KEY +
_WHERE_ + SERVICE_IDENTIFIER_KEY + "=:" + SERVICE_IDENTIFIER_KEY",
nativeQuery = true
)
Query used to edit an existing configuration of a BrownieHostService
Parameters
autoRunAfterHostReboot
Whether the service must be automatically restarted after the host start or the host restart
programArguments
The program arguments
purgeNohupOutAfterReboot
Whether the nohup.out
file related to the service must be deleted at each service start
serviceId
The identifier of the service owner