Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

daemonization causes process to constantly restart with new pid #1165

Closed
puterboy opened this issue Jun 6, 2024 · 5 comments · Fixed by #1168
Closed

daemonization causes process to constantly restart with new pid #1165

puterboy opened this issue Jun 6, 2024 · 5 comments · Fixed by #1168
Assignees
Labels
bug Something isn't working
Milestone

Comments

@puterboy
Copy link

puterboy commented Jun 6, 2024

Running go2rtc on a RPi5.
Works if I just run go2rtc_linux_arm64
However if I run go2rtc_linux_arm64 -d, then the process continually restarts with a new pid, making the stream useless.
Note this happens whether I run as root or as unprivileged user.

@AlexxIT AlexxIT added the bug Something isn't working label Jun 6, 2024
@AlexxIT AlexxIT self-assigned this Jun 6, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Jun 6, 2024

You can use -daemon flag as temporary solution

@AlexxIT AlexxIT added this to the v1.9.4 milestone Jun 6, 2024
@puterboy
Copy link
Author

puterboy commented Jun 6, 2024

Is that '-daemon' or '--daemon'?
Also, is there a way to get log output in daemon mode?
Would be good to have a flag to redirect stdout/stderr when in daemon mode to catch errors

@skrashevich
Copy link
Contributor

Is that '-daemon' or '--daemon'?

Both will work (#1168).

Also, is there a way to get log output in daemon mode?
Would be good to have a flag to redirect stdout/stderr when in daemon mode to catch errors

Apologies for the oversight. This feature will been implemented in #1167.

@puterboy
Copy link
Author

puterboy commented Jun 6, 2024

Any idea when this will all be pulled into 'master' and official release number will be bumped?
Thanks :)

@AlexxIT
Copy link
Owner

AlexxIT commented Jun 18, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants