Use Makefile

This commit is contained in:
Arash Hatami 2022-09-25 12:58:14 +03:30
parent f91b34d4f1
commit b0f4fae8cc
No known key found for this signature in database
GPG Key ID: D3D9E8CB2E49731F
2 changed files with 6 additions and 1 deletions

5
Makefile Normal file
View File

@ -0,0 +1,5 @@
.PHONY: run
run:
rm -f *.conf
python3 main.py

View File

@ -69,7 +69,7 @@ PERSISTENT_KEEPALIVE=
To generate config files for all endpoints, run:
```bash
python main.py
make run
```
This script will create file(s) based on the given endpoints. In this example, it will create `Company-Server-1.conf` and `Company-Server-2.conf` files like this: