mirror of
https://github.com/jwhited/wgsd.git
synced 2025-04-04 11:09:31 +08:00
549 B
549 B
wgsd-client systemd Integration
systemd timers can be used to periodically invoke wgsd-client
.
Installation
- Copy
wgsd-client@.service
to/etc/systemd/system/
. - Copy
wgsd-client@.timer
to/etc/systemd/system/
.
Configuration
- To configure
wgsd-client
for WireGuard interfacewg-foo
copywg-example.template.env
to/etc/wgsd/wg-foo.env
and adjust variables accordingly.
Activation
- To activate periodic
wgsd-client
invocation for WireGuard interfacewg-foo
runsystemctl enable wgsd-client@wg-foo.timer
.