You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ffmyk-ansible/roles/install_wg_add/templates/wg_add.service.j2

11 lines
187 B
Django/Jinja

[Unit]
Description=wg_add
After=network.target
[Service]
ExecStart=/opt/wg_add/wg_add {{ ansible_default_ipv4.interface }} wg%i vx%i
Restart=always
[Install]
WantedBy=multi-user.target