[email protected] 279 B

123456789101112131415
  1. [Unit]
  2. Description=Frp Client Service
  3. After=network.target
  4. [Service]
  5. Type=simple
  6. User=nobody
  7. Restart=on-failure
  8. RestartSec=5s
  9. ExecStart=/usr/bin/frpc -c /etc/frp/%i.ini
  10. ExecReload=/usr/bin/frpc reload -c /etc/frp/%i.ini
  11. LimitNOFILE=1048576
  12. [Install]
  13. WantedBy=multi-user.target