mirror of
https://github.com/roles-ansible/ansible_collection_wireguard.git
synced 2024-10-27 22:47:42 +01:00
14 lines
225 B
Text
14 lines
225 B
Text
|
{{ ansible_managed | comment }}
|
||
|
[Unit]
|
||
|
Description=Restart WireGuard
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
ExecStart=/usr/bin/systemctl restart wg-quick@wg0.service
|
||
|
User=root
|
||
|
Group=root
|
||
|
|
||
|
[Install]
|
||
|
RequiredBy=wgui.path
|