ansible-role-wireguard_client/templates/ping_wg_server.service.j2

14 lines
240 B
Text
Raw Normal View History

2023-04-08 13:23:04 +02:00
[Unit]
After=network.target
Wants=nss-lookup.target
Before=nss-lookup.target
OnFailure=status_email_antoniodelgado@%n.service
[Service]
Type=simple
User=gestor
ExecStart=ping -c 3 {{ server_address }}
[Install]
WantedBy=multi-user.target