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

[Feature Request] register mieru as daemon for linux platforms #191

Open
Soneoylys opened this issue Jan 8, 2025 · 3 comments
Open

[Feature Request] register mieru as daemon for linux platforms #191

Soneoylys opened this issue Jan 8, 2025 · 3 comments
Labels
feature request New feature or request

Comments

@Soneoylys
Copy link

In my use case, I've setup mieru in China VPS, mita in Japan VPS then use reverse proxy via socks to convert standard VPN protocol for my friends to create a proper LAN setup, it works well
But sometimes mieru client in China side will quit working for no reason, I need to restart it manually, maybe setup a on-failure auto restart daemon will help, any suggestions?

@enfein enfein added the feature request New feature or request label Jan 9, 2025
@enfein
Copy link
Owner

enfein commented Jan 9, 2025

Because we don't know if user want to start the client on system boot, this is not provided by default. However, you can refer https://github.com/enfein/mieru/blob/main/configs/examples/mieru.service to implement the feature.

Also, you can share the log so we are able to know the reason why the process exit.

@Soneoylys
Copy link
Author

maybe install the systemd but not enable it by default is better option
idk where I can grab the log from tho, it's not in /var/log for me

@enfein
Copy link
Owner

enfein commented Jan 9, 2025

See https://github.com/enfein/mieru/blob/main/docs/operation.md#view-mieru-client-log

The systemd unit requires user input to set MIERU_CONFIG_JSON_FILE variable, so we let user to create it if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants