Fix wg server
This commit is contained in:
parent
0e0dda8acf
commit
4a83cbf3e3
3 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ listenport: '1928'
|
|||
privatekey: ''
|
||||
interface_name: wg0
|
||||
server_publickey: ''
|
||||
server_address: '192.168.2.5'
|
||||
wg_server_address: '192.168.2.5'
|
||||
ping_schedule: 1h
|
||||
endpoint: ''
|
||||
dns: '1.1.1.1'
|
||||
|
|
|
@ -7,4 +7,4 @@
|
|||
daemon_reload: yes
|
||||
|
||||
- name: Ping Wireguard server
|
||||
shell: "ping -c 3 -4 {{ server_address }}"
|
||||
shell: "ping -c 3 -4 {{ wg_server_address }}"
|
||||
|
|
|
@ -7,7 +7,7 @@ OnFailure=status_email_antoniodelgado@%n.service
|
|||
[Service]
|
||||
Type=simple
|
||||
User=gestor
|
||||
ExecStart=ping -q -4 -c 3 {{ server_address }}
|
||||
ExecStart=ping -q -4 -c 3 {{ wg_server_address }}
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue