OSDN Git Service

New oneshot: ufw
authormobinmob <mobinmob@disroot.org>
Thu, 2 Jul 2020 19:02:27 +0000 (22:02 +0300)
committermobinmob <mobinmob@disroot.org>
Thu, 2 Jul 2020 19:02:27 +0000 (22:02 +0300)
usr/share/66/service/ufw [new file with mode: 0644]

diff --git a/usr/share/66/service/ufw b/usr/share/66/service/ufw
new file mode 100644 (file)
index 0000000..8457558
--- /dev/null
@@ -0,0 +1,12 @@
+[main]
+@type = oneshot
+@version = @VERSION@
+@description = "Start Uncomplicated firewall"
+@user = ( root )
+@options = ( log )
+
+[start]
+@execute = ( /usr/lib/ufw/ufw-init start )
+    
+[stop]
+@execute = ( /usr/lib/ufw/ufw-init stop )