aboutsummaryrefslogtreecommitdiff
path: root/services-root
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--services-root/internet-from_wifi_to_internet.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/services-root/internet-from_wifi_to_internet.service b/services-root/internet-from_wifi_to_internet.service
new file mode 100644
index 0000000..4c68ed4
--- /dev/null
+++ b/services-root/internet-from_wifi_to_internet.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Internet forwading
+After=network-pre.target
+Before=network.target netctl.service
+Wants=network.target
+
+[Service]
+RemainAfterExit=yes
+ExecStart=/home/neodarz/internet.sh start
+ExecStop=/home/neodarz/internet.sh stop
+
+[Install]
+WantedBy=multi-user.target