Browse Source

Remove use of a shell script to sync config

pull/1/head
Julien Escario 4 years ago
parent
commit
5f2781870e
  1. 2
      docker/wg-gen-web/wg-gen-web.service

2
docker/wg-gen-web/wg-gen-web.service

@ -4,7 +4,7 @@ After=network.target
[Service] [Service]
Type=oneshot Type=oneshot
ExecStart=/bin/bash /etc/wireguard/wg0-reload.sh
ExecStart=ExecStart=sh -c 'exec /usr/bin/wg-quick strip wg0 | { /usr/bin/wg syncconf wg0 /dev/fd/3; } 3<&0'
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
Loading…
Cancel
Save