[Unit] Description=frps — frp server managed by frps-manager Documentation=https://github.com/fatedier/frp After=network-online.target Wants=network-online.target [Service] Type=simple # frps 0.70 does not support SIGHUP reload — `systemctl reload` will be # turned into a full restart by systemd (ExecReload forces a fresh start). ExecStart=/fs/1000/ftp/Project/frps-manager/runtime/bin/frps \ -c /fs/1000/ftp/Project/frps-manager/runtime/conf/frps.ini # frps 0.70 doesn't implement SIGHUP reload — the manager invokes # `systemctl restart frps.service` whenever a config change is applied. ExecReload=/usr/bin/systemctl restart frps.service Restart=on-failure RestartSec=5 LimitNOFILE=65536 # Don't start before the web manager; if frps is down the web manager # still works (it can reload / restart frps). # Hardening NoNewPrivileges=true PrivateTmp=true ProtectSystem=full ProtectHome=true [Install] WantedBy=multi-user.target