it-infra/m-labs-intl/gretun.service
Egor Savkin 683a565a1d Document intl node set up
Uses strongswan and GRE for mail connection, iptables for port forwarding to the smtp, nginx for website and webhook service, with static files getting uploaded from nixbld

Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-10-18 17:40:04 +08:00

15 lines
234 B
Desktop File

[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