summarylogtreecommitdiffstats
path: root/autorestartNM.service
diff options
context:
space:
mode:
Diffstat (limited to 'autorestartNM.service')
-rw-r--r--autorestartNM.service6
1 files changed, 6 insertions, 0 deletions
diff --git a/autorestartNM.service b/autorestartNM.service
new file mode 100644
index 000000000000..e5080a79ff7d
--- /dev/null
+++ b/autorestartNM.service
@@ -0,0 +1,6 @@
+[Unit]
+Description=Auto Restart NetworkManager when network is not working
+
+[Service]
+EnvironmentFile=/etc/conf.d/autorestartNM.conf
+ExecStart=/usr/bin/autorestartNM $ADDRESS $SLEEPTIMES $RETRIES