gre-on-wg/gre-on-wg@.service

14 lines
280 B
Desktop File

[Unit]
Description=GRETAP over wg-quick network for %I
After=wg-quick@%I
Wants=wg-quick@%I
PartOf=gre-on-wg.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/local/bin/gre-on-wg up %i
ExecStop=/usr/local/bin/gre-on-wg down %i
[Install]
WantedBy=multi-user.target