frp: Align service scripts to template file's config path#61399
frp: Align service scripts to template file's config path#61399MC26Paradox wants to merge 2 commits into
Conversation
This PR only has the config location fix, the below is not touched at all, just adding onto the discussion from the linked (closed) PR.Anecdotally, the mentioned PR's suggestion of running as In particular, I've tried with both Minimal example config for recreating that, from frp's docs: bindPort = 7000
serverAddr = "127.0.0.1"
serverPort = 7000
# Only available on the local machine,
# unless switched to ex. "0.0.0.0",
# and allowed through relevant firewall.
# Warning: login allows editing of frpc's config!
webServer.addr = "127.0.0.1"
webServer.port = 7400
webServer.user = "admin"
webServer.password = "admin"
[[proxies]]
name = "testing"
type = "tcp"
localIP = "127.0.0.1"
# Adjust accordingly for test service's port (local),
# and port you attempt to connect to (remote).
localPort = 1111
remotePort = 2222I couldn't tell you if However, HTTPS certificates will be unreadable by |
#55858 is a previous PR with the same change, but the PR owner closed it, and the package's maintainer, @Anachron, mentioned intent to apply this fix.
(Apologies to said maintainer for the ping, intended as a gentle reminder as they stated not getting a notification in the last PR.)
The package
templateis untouched, this PR simply has the service files use the same config files as thetemplaterefers to.Original config file location is deprecated as well, besides not being installed by the
templatealready.Testing the changes
aarch64-muslworks (hardware: a Raspberry Pi 4), as in:"I changed my local service file by hand and this quick fix works on a fresh package install"
xbps-srcis missing in the static download ofxbps, so I can't rebuild the package elsewhere, but thetemplate's unchanged anyway!)