it-infra/m-labs-intl/gretun.service

15 lines
234 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=GRE tunnel to the main host
After=network.target
[Service]
Type=simple
User=root
ExecStart=/root/gretun.sh
ExecStop=/root/gretun_down.sh
Restart=on-failure
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target