Synth restarting application after update

I use synth exclusively on my system. It works perfectly, with one exception. Some applications such as "dovecot" will fail after being updated if they are not restarted. How can I get synth to restart this application, in this example "dovecot" after it is rebuilt?
 
I never took the time to learn which applications can be left running during an upgrade, and which should or must be shutdown prior. And so I always took the safe approach: shutdown all my programs, let synth do it thing, and then start the applications back up.
 
Synth uses PKG, doesn't it? If so, you could use the following:

/usr/local/etc/pkg.conf
Code:
HANDLE_RC_SCRIPTS = true;
HANDLE_RC_SCRIPTS: boolean
When enabled, this option will automatically perform
start/stop of services during package installation and
deinstallation. Services are only started on
installation if they are enabled in /etc/rc.conf.
Default: NO.
 
Back
Top