Re: Extension Script or systemd for Shorewall dependencies?

jen142@promessage.com
Wed, 04 Dec 2013 18:50:08 -0000

> You can simply use the ''shorewall reload <remote
system>'' on the admin
> system, or you must export then ''systemctl restart'' on
the remote
> firewall.

thanks

> > Can the remote executable be changed?  For example, to use
> > /etc/systemd/system/my-shorewall-script.service, instead?
>
> Instead of what?

instead of whatever the answer to my prior question:

'' ... is the remote''s Shorewall-lite instance
reloaded/restarted by
using "systemctl restart ...",
or by directly invoking the shorewall script? ...''

is.

a local ''shorewall reload'' executes WHAT on the remote system?
"systemctl shorewall-lite"?

Where do I change whatever that default executable is to "to use
/etc/systemd/system/my-shorewall-script.service, instead" ?

> Change the shorewallrc VARLIB or VARDIR setting on the remote system and
> copy that file into the remote system''s directory on the admin
system.
> Note that VARLIB/VARDIR changes the place where the compiled script runs
> from.

thanks

Jen