summaryrefslogtreecommitdiff
path: root/nonsystemd/nftables-openrc/nftables.confd
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2022-07-19 16:28:40 -0400
committerDavid P <megver83@parabola.nu>2022-07-19 16:28:40 -0400
commitedf915dec7af1df0f0ee58eb9da42ccff3a6444d (patch)
tree6e72938699b8091d91da459fd55c914737058bb3 /nonsystemd/nftables-openrc/nftables.confd
parent4c8a3124b2b91bb979c95c1c5a8d2206d6cd0b39 (diff)
downloadabslibre-edf915dec7af1df0f0ee58eb9da42ccff3a6444d.tar.gz
abslibre-edf915dec7af1df0f0ee58eb9da42ccff3a6444d.tar.bz2
abslibre-edf915dec7af1df0f0ee58eb9da42ccff3a6444d.zip
addpkg: nonsystemd/nftables-openrc 20210505-2
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd/nftables-openrc/nftables.confd')
-rw-r--r--nonsystemd/nftables-openrc/nftables.confd19
1 files changed, 19 insertions, 0 deletions
diff --git a/nonsystemd/nftables-openrc/nftables.confd b/nonsystemd/nftables-openrc/nftables.confd
new file mode 100644
index 000000000..e83a4b962
--- /dev/null
+++ b/nonsystemd/nftables-openrc/nftables.confd
@@ -0,0 +1,19 @@
+# /etc/conf.d/nftables
+
+# Location in which nftables initscript will save set rules on
+# service shutdown
+NFTABLES_SAVE="/var/lib/nftables/rules-save"
+
+# Options to pass to nft on save
+SAVE_OPTIONS="-n"
+
+# Save state on stopping nftables
+SAVE_ON_STOP="yes"
+
+# If you need to log nftables messages as soon as nftables starts,
+# AND your logger does NOT depend on the network, then you may wish
+# to uncomment the next line.
+# If your logger depends on the network, and you uncomment this line
+# you will create an unresolvable circular dependency during startup.
+# After commenting or uncommenting this line, you must run 'rc-update -u'.
+#rc_use="logger"