1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_collection_wireguard.git synced 2024-10-27 22:47:42 +01:00
ansible_collection_wireguard/roles/wireguardui/templates/wgui.service.j2

14 lines
225 B
Text
Raw Normal View History

2024-10-14 01:34:07 +02:00
{{ 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