We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcd3b58 commit 3803936Copy full SHA for 3803936
service.sh
@@ -0,0 +1,4 @@
1
+#!/bin/bash
2
+ipset restore --exist < /root/.wepn/ipset-rules
3
+sleep 1
4
+iptables-restore < /root/.wepn/iptables-rules
wepn.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=WePN Service
+
+[Service]
5
+Type=oneshot
6
+ExecStart=/root/.wepn/service.sh
7
+User=root
8
+Group=root
9
+UMask=0022
10
11
+[Install]
12
+WantedBy=multi-user.target
0 commit comments