diff --git a/README.md b/README.md
index 4ba9a2a8..f5bbae68 100644
--- a/README.md
+++ b/README.md
@@ -13,26 +13,19 @@ A simple web interface(user-frendly web GUI) for managing Haproxy servers
7. Rollback to previous versions of the config
8. Comparing versions of configs
9. Users roles: admin, viewer
+10. Telegram notification
# Install
For install just dowload archive and untar somewhere:
```
$ cd /opt
$ unzip master.zip
-$ mv haproxy-web-interface-master/ haproxy
-$ cd /opt/haproxy
-$ pip3 install -r requirements.txt
-$ chmod +x server.py
-$ chmod +x -R cgi-bin/
-$ chown user:user -R haproxy
+$ mv haproxy-wi-master/ haproxy-wi
+$ cd /opt/haproxy-wi
+$ chmod +x install.sh
```
Edit listserv.py, add your HAproxy servers.
-If foler not /opt/haproxy/, edit server.py:
-```
-path_config = "/opt/haproxy/haproxy-webintarface.config"
-```
-
# Settings
edit haproxy-webintarface.config with your env
@@ -46,24 +39,12 @@ global
```

-# Start
-Create systemd service to auto start:
+# Start and auto start
```
-[Unit]
-Description=Haproxy web interface
-After=syslog.target network.target
-
-[Service]
-Type=simple
-User=user_name
-
-ExecStart=/opt/haproxy/server.py >> /opt/haproxy/log/haproxy-webface.log
-
-RestartSec=2s
-Restart=on-failure
-TimeoutStopSec=1s
-
-[Install]
-WantedBy=multi-user.target
+systemctl enable haproxy-wi.service
+systemctl start haproxy-wi.service
```
-
+
+# Deb support
+
+Sorry, but not use, because adapt yourself
diff --git a/cgi-bin/add.py b/cgi-bin/add.py
index aa9fef61..d741f5b8 100644
--- a/cgi-bin/add.py
+++ b/cgi-bin/add.py
@@ -13,7 +13,7 @@ from pytz import timezone
funct.head("Add")
funct.check_config()
-funct.check_login("add.py")
+funct.check_login()
path_config = "haproxy-webintarface.config"
config = configparser.ConfigParser()
@@ -122,6 +122,7 @@ for i in sorted(listhap.listhap):
print('' % (listhap.listhap.get(i), i))
print(''
+ '
Note: If you reconfigure First server, second will reconfigured automatically
'
''
''
''
@@ -135,7 +136,7 @@ print(''
''
':'
''
- ' IP for bind listner, if empty will be assignet on all IPs. Start typing ip, or press down. '
+ 'IP for bind listner, if empty will be assignet on all IPs. Start typing ip, or press down. '
' | '
'
'
''
@@ -202,6 +203,7 @@ for i in sorted(listhap.listhap):
print('' % (listhap.listhap.get(i), i))
print(''
+ 'Note: If you reconfigure First server, second will reconfigured automatically
'
''
'
'
''
@@ -215,7 +217,7 @@ print(''
''
':'
''
- ' IP for bind listner, if empty will be assignet on all IPs. Start typing ip, or press down. '
+ 'IP for bind listner, if empty will be assignet on all IPs. Start typing ip, or press down. '
' | '
'
'
''
@@ -274,6 +276,7 @@ for i in sorted(listhap.listhap):
print('' % (listhap.listhap.get(i), i))
print(''
+ 'Note: If you reconfigure First server, second will reconfigured automatically
'
''
'
'
''
diff --git a/cgi-bin/config.py b/cgi-bin/config.py
index 4c446c84..7319ad81 100644
--- a/cgi-bin/config.py
+++ b/cgi-bin/config.py
@@ -17,7 +17,7 @@ servNew = form.getvalue('serNew')
funct.head("Edit HAproxy config")
funct.check_config()
-funct.check_login("config.py")
+funct.check_login()
path_config = "haproxy-webintarface.config"
config = configparser.ConfigParser()
diff --git a/cgi-bin/configshow.py b/cgi-bin/configshow.py
index fd9a12cc..6e7626cf 100644
--- a/cgi-bin/configshow.py
+++ b/cgi-bin/configshow.py
@@ -15,7 +15,7 @@ servNew = form.getvalue('serNew')
funct.head("Show HAproxy config")
funct.check_config()
-funct.check_login("configshow.py")
+funct.check_login()
path_config = "haproxy-webintarface.config"
config = configparser.ConfigParser()
diff --git a/cgi-bin/configver.py b/cgi-bin/configver.py
index 5ced61cd..97b9dc13 100644
--- a/cgi-bin/configver.py
+++ b/cgi-bin/configver.py
@@ -17,7 +17,7 @@ configver = form.getvalue('configver')
funct.head("Old Versions HAproxy config")
funct.check_config()
-funct.check_login("configver.py")
+funct.check_login()
path_config = "haproxy-webintarface.config"
config = configparser.ConfigParser()
diff --git a/cgi-bin/diff.py b/cgi-bin/diff.py
index 03c99e39..ea7420a4 100644
--- a/cgi-bin/diff.py
+++ b/cgi-bin/diff.py
@@ -17,7 +17,7 @@ right = form.getvalue('right')
funct.head("Compare HAproxy configs")
funct.check_config()
-funct.check_login("diff.py")
+funct.check_login()
path_config = "haproxy-webintarface.config"
config = configparser.ConfigParser()
diff --git a/cgi-bin/edit.py b/cgi-bin/edit.py
index 7b7f5a22..442b6426 100644
--- a/cgi-bin/edit.py
+++ b/cgi-bin/edit.py
@@ -13,12 +13,12 @@ serv = form.getvalue('serv')
head("Edit & show HAproxy settings")
-funct.check_login("edit.py")
+funct.check_login()
print('Edit & show HAproxy settings
')
print('Choose server & action: Disable/Enable server or output any information about the server:
')
print('