Egor Savkin
683a565a1d
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>
15 lines
234 B
Desktop File
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
|