Hello,
I know, I can use start_precmd macro in rc.d script of a service to launch something before service startup.
But is there any way to do it directly in rc.conf, so this configuration persists after an upgrade of the service package?
Ideally, I would like to configure both pre-start and pre-stop scripts for a service - to track his state with an external program.
Any ideas?
I know, I can use start_precmd macro in rc.d script of a service to launch something before service startup.
But is there any way to do it directly in rc.conf, so this configuration persists after an upgrade of the service package?
Ideally, I would like to configure both pre-start and pre-stop scripts for a service - to track his state with an external program.
Any ideas?