On Fri, Nov 23, 2018 at 3:03 PM Diego Medina wrote:
> that endpoint returns no html just because I don't need it, but the status
> 200 is there to tell me the app is running
>
> a go deamon is just a go binary, nothing special
>
> systemd works fine with any go binary that serves http
>
> I'm not looking for an service/socket example,
if the service part is in reference to the repo I posted, where I said
service, you can just assume I said an http endpoint you can visit with
your browser, and it will return a status code, like
curl -v https://mrwilson.one/status
* Trying
[resending, sorry sam]
On Fri, Nov 23, 2018 at 10:50 AM Sam Whited wrote:
> On Thu, Nov 22, 2018, at 21:14, Tong Sun wrote:
> > and it needs to be working under systemd.
> > …
> > but there is no mentioning of how it can work under systemd, which could
> > be
> > troublesome,
> > like the
On Thu, Nov 22, 2018, at 21:14, Tong Sun wrote:
> and it needs to be working under systemd.
> …
> but there is no mentioning of how it can work under systemd, which could
> be
> troublesome,
> like the question I found at why systemd cannot start golang web app
>
Hi,
I want to write a simple Go http daemon that return a static string
regardless what the request is,
like this
one: https://github.com/suntong/dbab/blob/master/src/bin/dbab-svr#L20
and it needs to be working under systemd.
*What is the best example that I can start with?* (They both, Go