Community Discussions and Support
Updating MercuryS Access Control List

I'm trying to write a script that adds IP addresses to the MercuryS Access Control List by appending them to the file mercurys.acl.  However, Mercury seems to keep a copy of that file in memory and flushes it out when it exits, overwriting my updates. I could shut down Mercury, update mercuryS.acl and restart Mercury but I'd rather not. Is there any way for an external program to notify a running Mercury that the mercurys.acl file has been changed?

Alternatively, since Mercury exits and restarts nightly (using loader.exe), is there any way to have loader.exe run a script before it restarts Mercury? That would allow me to update the ACL when mercury is being bounced.

 

<p>I'm trying to write a script that adds IP addresses to the MercuryS Access Control List by appending them to the file mercurys.acl.  However, Mercury seems to keep a copy of that file in memory and flushes it out when it exits, overwriting my updates. I could shut down Mercury, update mercuryS.acl and restart Mercury but I'd rather not. Is there any way for an external program to notify a running Mercury that the mercurys.acl file has been changed?</p><p>Alternatively, since Mercury exits and restarts nightly (using loader.exe), is there any way to have loader.exe run a script before it restarts Mercury? That would allow me to update the ACL when mercury is being bounced. </p><p> </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft