service configuration files that needs to be saved just incase the server got lost someday by the cloud provider.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

17 lines
317B

  1. [Unit]
  2. Description=Socat soa 80
  3. After=wg-quick@.service
  4. Wants=wg-quick@.service
  5. [Service]
  6. Type=simple
  7. ExecStart=/usr/bin/socat -d -d -lmlocal2 TCP4-LISTEN:8001,bind=175.22.14.240,su=nobody,fork,reuseaddr TCP4:soaprivate:80
  8. User=root
  9. Restart=always
  10. RestartSec=20
  11. TimeoutSec=3
  12. [Install]
  13. WantedBy=multi-user.target