forked from M-Labs/it-infra
15 lines
234 B
SYSTEMD
15 lines
234 B
SYSTEMD
|
[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
|