mirror of
https://github.com/jwhited/wgsd.git
synced 2025-11-08 21:15:33 +08:00
wgsd-client systemd Integration
systemd timers can be used to periodically invoke wgsd-client.
Installation
- Copy
wgsd-client@.serviceto/etc/systemd/system/. - Copy
wgsd-client@.timerto/etc/systemd/system/.
Configuration
- To configure
wgsd-clientfor WireGuard interfacewg-foocopywg-example.template.envto/etc/wgsd/wg-foo.envand adjust variables accordingly.
Activation
- To activate periodic
wgsd-clientinvocation for WireGuard interfacewg-foorunsystemctl enable wgsd-client@wg-foo.timer.