I have not been able to find an answer to this question here, in the man page, or via google so here goes. Is there a way to specify a script to be run after an rc script is run from /usr/local/etc/rc.d/? I have a service that I need called after I restart a Tomcat 9 instance. I'm able to handle running it on boot and whenever we do a full service restart on the system as those are run through separate scripts. The one scenario I cannot account for is those times when we only restart the Tomcat instance. I thought about modifying /usr/local/etc/rc.d/tomcat9 but that would get clobbered every package update. Changing procedures is an option but our admins have 15+ years of muscle memory associated with just using the base tomcat rc script and I'm trying to avoid the mistake of restarting Tomcat without also calling the external service. Does anyone know if there's an option to specify something in rc.conf like tomcat9_poststart="/run/this/script.sh" that would accomplish this?