mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #1750] [CLOSED] Support Windows services #4446
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#4446
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fatedier/frp/pull/1750
Author: @wyaode
Created: 4/13/2020
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (3)
08fa44cUpdate main.go62b60b4Update main.goff6a840Merge pull request #1 from wyaode/patch-2📊 Changes
2 files changed (+62 additions, -2 deletions)
View changed files
📝
cmd/frpc/main.go(+30 -1)📝
cmd/frps/main.go(+32 -1)📄 Description
对于not Windows系统的部署可以使用额外的脚本,但是对于windows服务来说确实有些许不一样。
即使使用sc工具添加到系统服务,也需要frp本身支持,稍微改了一下,默认工作路径为当前程序所在目录
安装到系统服务可以使用类似于
sc create FRPS binPath= "%CD%\FRPS.exe -c frps.ini" start= demand
#1745
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.