machines/wireguard: add restart option to peer service

This commit is contained in:
Dmitriy Pleshevskiy 2023-03-09 11:13:37 +03:00
parent 1856a5d45c
commit 2526dd47e3
Signed by: pleshevskiy
GPG key ID: 79C4487B44403985

View file

@ -60,6 +60,8 @@ in
# Send keepalives every 25 seconds. Important to keep NAT tables alive.
persistentKeepalive = 25;
dynamicEndpointRefreshRestartSeconds = 5;
}
];
};