You are not logged in.
Pages: 1
Topic closed
Hi all,
I'm hacking the iptables package at the moment to support loading rules from an include directory (/etc/iptables/rules.d/).
Can I set this directory to be preserved by the 'backup' array, or do I need to specify each file separately? The idea is the user (or another package) can add their own files in that directory, but I don't want to clobber those files if the iptables package ever has the same filename as what they put in there.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
I don't believe it does support directories or wildcards... In fact, thinking about how this is implemented, I guess it does not. May be worth filing a feature request for.
Offline
Bugger... Okie dokie, thanks Allan
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
15 years later, should I presume this is still the same?
I create a directory in `/var/log/myamazingapp/` for logs. I'd like them to stay there on a remove, but remove the directory and whatever it may have in it on a purge.
Still no-can-do?
Offline
Please check the bug tracker for any relevant feature requests, and open one if none exist. Do not necrobump.
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed