1
0

ratholec@.service 323 B

1234567891011121314151617
  1. [Unit]
  2. Description=Rathole Client Service
  3. After=network.target
  4. [Service]
  5. Type=simple
  6. Restart=on-failure
  7. RestartSec=5s
  8. LimitNOFILE=1048576
  9. # with root
  10. ExecStart=/usr/bin/rathole -c /etc/rathole/%i.toml
  11. # without root
  12. # ExecStart=%h/.local/bin/rathole -c %h/.local/etc/rathole/%i.toml
  13. [Install]
  14. WantedBy=multi-user.target