[GH-ISSUE #1457] Add support for sysvinit #1151

Closed
opened 2026-05-05 12:44:23 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @ZhaoXiangXML on GitHub (Oct 10, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1457

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)
(请不要在 issue 评论中出现无意义的 加1我也是 等内容,将会被直接删除。)
(由于个人精力有限,和系统环境,网络环境等相关的求助问题请转至其他论坛或社交平台。)

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?
0.29.0

What operating system and processor architecture are you using (go env)?
Linux localhost 4.4.23+ #1 SMP PREEMPT Wed Nov 28 00:44:03 CST 2018 armv7l armv7l armv7l GNU/Linux

It's an Android 4.4 phone with Linux Deploy

Configures you used:

Steps to reproduce the issue:

  1. systemctl start frpc

Describe the results you received:
System has not been booted with systemd as init system (PID 1). Can't operate.

Describe the results you expected:
run frpc as service

Additional information you deem important (e.g. issue happens only occasionally):

Can you point out what caused this issue (optional)
According to https://github.com/meefik/linuxdeploy/issues/846, it's nearly impossible to run systemd as init system on Android.

Is it possible to provide scripts for sysvinit?

Thanks

Originally created by @ZhaoXiangXML on GitHub (Oct 10, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1457 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) (请不要在 issue 评论中出现无意义的 **加1**,**我也是** 等内容,将会被直接删除。) (由于个人精力有限,和系统环境,网络环境等相关的求助问题请转至其他论坛或社交平台。) Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** 0.29.0 **What operating system and processor architecture are you using (`go env`)?** Linux localhost 4.4.23+ #1 SMP PREEMPT Wed Nov 28 00:44:03 CST 2018 armv7l armv7l armv7l GNU/Linux It's an Android 4.4 phone with [Linux Deploy](https://github.com/meefik/linuxdeploy) **Configures you used:** **Steps to reproduce the issue:** 1. systemctl start frpc 2. 3. **Describe the results you received:** System has not been booted with systemd as init system (PID 1). Can't operate. **Describe the results you expected:** run frpc as service **Additional information you deem important (e.g. issue happens only occasionally):** **Can you point out what caused this issue (optional)** According to https://github.com/meefik/linuxdeploy/issues/846, it's nearly impossible to run systemd as init system on Android. Is it possible to provide scripts for sysvinit? Thanks
Author
Owner

@ZhaoXiangXML commented on GitHub (Oct 10, 2019):

总之就是在没有systemd的情况下如何在后台运行frpc?我的客户端是装在安卓手机上的,似乎没有办法用systemd。

<!-- gh-comment-id:540536498 --> @ZhaoXiangXML commented on GitHub (Oct 10, 2019): 总之就是在没有systemd的情况下如何在后台运行frpc?我的客户端是装在安卓手机上的,似乎没有办法用systemd。
Author
Owner

@ZhaoXiangXML commented on GitHub (Oct 10, 2019):

我发现我的路由器上自带了frpc,也配置成功了。那就不需要这个了

<!-- gh-comment-id:540540723 --> @ZhaoXiangXML commented on GitHub (Oct 10, 2019): 我发现我的路由器上自带了frpc,也配置成功了。那就不需要这个了
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1151
No description provided.