Solve bug in Golang service

I have a very simple program written in Go, that runs on the background as a Linux service. It works perfectly, but the problem is with the status. When I do "sudo service program status" it says "activating" all time.

The code is here: [login to view URL]

$ sudo service program start


$ sudo service program status

● [login to view URL] - SYSV: CPU

Loaded: loaded (/etc/init.d/program; bad; vendor preset: enabled)

Active: activating (start) since Wed 2019-01-16 23:26:43 CET; 1min 12s ago

Docs: man:systemd-sysv-generator(8)

Control: 18733 (program)

Tasks: 6

Memory: 1.2M

CPU: 15ms

CGroup: /[login to view URL]

├─18733 /bin/bash /etc/init.d/program start

└─18736 /usr/local/bin/program

Skills: Golang, Linux, Ubuntu

See more: golang memory leak pprof, golang bug, golang http server memory leak, slice dice service css, photoshop slice service, joomla slice service, psd xhtml slice service, slice html service, flash bug fix service, free local community man, css bug fixing service, parallels plesk panel service local computer started stopped, start windows image acquisition wia service local computer, start microsoft exchange transport service local computer, start microsoft exchange transport service local computer 1068, windows start microsoft exchange transport service local computer, singapore courier service local, golang jobs isle of man, online golang jobs isle of man, golang work isle of man

About the Employer:
( 5 reviews ) Barcelona, Spain

Project ID: #18539300

5 freelancers are bidding on average €142 for this job


Hello from Greece, Do you have root ssh access to the server? Would you like to have a chat? Best Regards, Dimitris KOkmadis

€111 EUR in 3 days
(378 Reviews)

Hi, sir Thank you for reading my bid. I have already completed a lot of backends by using golang. Especially, I have rich experience microservice backend development. As you know, golang is very excellent in perfor More

€333 EUR in 3 days
(10 Reviews)

Former IT Network/Infrastructure Manager at a key government department. Over 23 years experience in IT. Native Spanish translator. If you are looking for English to Spanish translations that ensures that meaning an More

€77 EUR in 3 days
(3 Reviews)

Hello, I will dix Solve bug in Golang service into your Linux. I'm interested in your project. Please send me a message so that we can discuss more. Thanks & Regards, Mohammad More

€100 EUR in 0 days
(3 Reviews)

Hello, It's one day job. I checked your code on github and there was no issue in that which you are mentioning here. So may be it is from the server on which we are sending an api call. I ran it on my local I was no More

€90 EUR in 1 day
(0 Reviews)