On 3/5/2020 10:58 AM, Tom Eastep wrote: > On 3/4/20 7:45 PM, Tom Eastep wrote: >> On 3/4/20 6:30 PM, J Cliff Armstrong via Shorewall-users wrote: >> >>> Sorry to butt in, but it's worth noting that Systemd has a feature >>> called "drop-in overrides" that can alleviate this inconsistency >>> for people for whom it's an issue. Instead of modifying the >>> shorewall.service file in `/lib/systemd/system/`, type (as root): >>> `systemctl edit shorewall.service`. This will open the default >>> terminal editor to a blank file in which you can paste the >>> following: >>> [service] >>> # reset ExecStop ExecStop= >>> # set ExecStop to "stop" instead of "clear" >>> ExecStop=/sbin/shorewall $OPTIONS stop >>> Then type `systemctl daemon-reload` to activate the changes. This >>> change will survive future updates of the shorewall package from >>> apt repositories. The override file itself will be saved to >>> `/etc/systemd/system/shorewall.service.d/`. >> Thanks, Cliff! >> > One correction - the first line of the override file should contain > > [Service] > > rather than > > [service] > > Thanks again, Cliff > > -Tom
Ah, yes. Apologies. I think it will work either way but `[Service]` is the correct syntax. Should have proofread more carefully. -- - J Cliff Armstrong - AKA JadedDragoon
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users