From a0229a07009e6452a0f647b05ee5170d1d4af43a Mon Sep 17 00:00:00 2001 From: kenzie tandun Date: Sun, 28 May 2017 20:05:34 +0700 Subject: [PATCH] service files for systemd --- iptables-web-checker.service | 8 ++++++++ iptables-web.service | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 iptables-web-checker.service create mode 100644 iptables-web.service diff --git a/iptables-web-checker.service b/iptables-web-checker.service new file mode 100644 index 0000000..520374e --- /dev/null +++ b/iptables-web-checker.service @@ -0,0 +1,8 @@ +[Unit] +Description=A simple web portal for Linux iptables + +[Service] +ExecStart=/root/firewall-portal/bin/python3 /root/firewall-portal/logic.py + +[Install] +WantedBy=multi-user.target diff --git a/iptables-web.service b/iptables-web.service new file mode 100644 index 0000000..daf70d7 --- /dev/null +++ b/iptables-web.service @@ -0,0 +1,8 @@ +[Unit] +Description=A simple web portal for Linux iptables + +[Service] +ExecStart=/root/firewall-portal/bin/python3 /root/firewall-portal/web.py + +[Install] +WantedBy=multi-user.target