appleboy / appleboy/gorush

Ubuntu installation issue.

Open
#815 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
8.8k
Forks
887
PR merge metrics
No merged PRs in 30d

Description

Hi, I have very unusual issue.
I have an ubuntu 22 and I needed gorush run as native service.

I tried script in debian ubuntu - over all it work, but gorush silently die after start. debug level of logs don't say much.

I tried vanilla service descriptor. GoRush started, but don't return status code and service hanging a while, when system kills it. By logs gorush starting, I can send several messages, and gracefully shutdown because os kill it by pid. looks like it don't detaches to background and don't return proper status to service scheduler.

I tried it under Mac, no issue, but with ubuntu I get them.

May be you port it and all I need to add some custom apt source to installed it properly?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the gorush service startup on Ubuntu 22 and compare the script and vanilla service descriptor mentioned in the report. Check whether the process stays managed and returns the expected status; done means the service starts reliably, remains available, and shuts down without being killed for hanging.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, ubuntu
Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.