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

[Linux] Immediately "Ctrl-C received, stopping service..." after the service started. #106

Open
latin-1 opened this issue Dec 28, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@latin-1
Copy link

latin-1 commented Dec 28, 2024

It occurs randomly. There is no stable way to reproduce this problem.

Dec 28 15:00:27 hikaris-yoga systemd[1]: Started elaina-nyanpasu-service.service - elaina-nyanpasu-service.
Dec 28 15:00:27 hikaris-yoga nyanpasu-service[1446]: 2024-12-28T07:00:27.845114Z  INFO server: nyanpasu_service/src/cmds/server.rs:29: nyanpasu config dir: "/var/home/hikari/.config/clash-nyanpasu" ctx=ServerContext { nyanpasu_config_dir: "/var/home/hikari/.config/clash-nyanpasu", nyanpasu_data_dir: "/var/home/hikari/.local/share/clash-nyanpasu", nyanpasu_app_dir: "/usr/bin", service: true }
Dec 28 15:00:27 hikaris-yoga nyanpasu-service[1446]: Ctrl-C received, stopping service...
Dec 28 15:00:27 hikaris-yoga nyanpasu-service[1446]: 2024-12-28T07:00:27.845157Z  INFO server: nyanpasu_service/src/cmds/server.rs:30: nyanpasu data dir: "/var/home/hikari/.local/share/clash-nyanpasu" ctx=ServerContext { nyanpasu_config_dir: "/var/home/hikari/.config/clash-nyanpasu", nyanpasu_data_dir: "/var/home/hikari/.local/share/clash-nyanpasu", nyanpasu_app_dir: "/usr/bin", service: true }
Dec 28 15:00:27 hikaris-yoga systemd[1]: elaina-nyanpasu-service.service: Deactivated successfully.

OS: Silverblue
Package: clash-nyanpasu-1.6.1-1.x86_64

@latin-1 latin-1 changed the title Immediately "Ctrl-C received, stopping service..." after the service started. [Linux] Immediately "Ctrl-C received, stopping service..." after the service started. Dec 28, 2024
@greenhat616 greenhat616 added the bug Something isn't working label Jan 2, 2025
@greenhat616 greenhat616 self-assigned this Jan 2, 2025
@greenhat616
Copy link
Collaborator

Have you tried the latest service binary? You can retrieve it via latest Nightly build of Clash Nyanapasu. Or just download it from its repo. I believe that the api is compatible with old defination, used by 1.6.1.

@latin-1
Copy link
Author

latin-1 commented Jan 4, 2025

Okay, I'll try the latest version for a few days and report back.

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

No branches or pull requests

2 participants