Solve bug in Golang service

Preklicano Objavljeno pred 5 letoma/leti Plačilo ob prevzemu
Preklicano Plačilo ob prevzemu

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

^C

$ 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

Golang Linux Ubuntu

ID projekta: #18539300

Več o projektu

5 predlogov Oddaljen projekt Aktiven pred 5 letoma/leti

5 freelancerjev ponuja v povprečju za €142 na tem delu

dkokmadis

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 v 3 dneh
(378 ocen)
7.0
JRABnet

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 Več

€77 EUR v 3 dneh
(3 ocen)
2.6
LinuxGun

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 https://www.freelancer.com/u/LinuxG Več

€100 EUR v 0 dneh
(3 ocen)
2.4
devTestOps

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 Več

€90 EUR v 1 dnevu
(0 ocen)
0.0