jdeath
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/lib/WireGuard.js
|
@ -106,7 +106,7 @@ AllowedIPs = ${client.address}/32`; |
|
|
|
|
|
|
|
|
async __syncConfig() { |
|
|
async __syncConfig() { |
|
|
debug('Syncing config...'); |
|
|
debug('Syncing config...'); |
|
|
await Util.exec(`wg syncconf ${WG_PATH}/wg0.conf <(wg-quick strip ${WG_PATH}/wg0.conf)`); |
|
|
await Util.exec(`wg syncconf wg0 <(wg-quick strip ${WG_PATH}/wg0.conf)`); |
|
|
debug('Config synced.'); |
|
|
debug('Config synced.'); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|