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

15 lines
268 B
SYSTEMD
Raw Normal View History

2023-06-15 01:57:56 +02:00
[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/bin/gre-on-wg up %i
ExecStop=/usr/bin/gre-on-wg down %i
[Install]
WantedBy=multi-user.target