# Example frpc systemd unit. Copy to /etc/systemd/system/frpc@.service on # the frpc host, then: # systemctl daemon-reload # systemctl enable --now frpc@.service # # The specifier lets you run multiple frpc instances per host. # Place per-instance configs under /etc/frpc/.ini. [Unit] Description=frpc — fatedier/frp client (%i) After=network-online.target Wants=network-online.target [Service] Type=simple ExecStart=/usr/local/bin/frpc -c /etc/frpc/%i.ini Restart=on-failure RestartSec=5 LimitNOFILE=65536 [Install] WantedBy=multi-user.target