hyperboria / services

Services on Hyperboria
30 stars 10 forks source link

Consider integrating with Hyperactive #8

Open elimisteve opened 8 years ago

elimisteve commented 8 years ago

...which is online now but I haven't used it:

https://github.com/elimisteve/hyperactive

$ curl -6 -g http://[fcaa:c3ef:7d17:db5a:baca:809b:8376:1e6e]:9999/services

ansuz commented 8 years ago

Doesn't seem to be working

kylerchin commented 7 years ago

Server is down...

elimisteve commented 7 years ago

cjdns crashes constantly for me so I've been off the network for a while, sorry!

elimisteve commented 7 years ago

...but hyperactive is up :-) http://tryingtobeawesome.com:9999/services

kylerchin commented 7 years ago

Still down buddy.....

elimisteve commented 7 years ago

@kylerschin I repeat: cjdns crashes constantly. This will work until my client crashes again:

$ curl -6 -g http://[fcaa:c3ef:7d17:db5a:baca:809b:8376:1e6e]:9999/services
kylerchin commented 7 years ago

Thanks!

kylerchin commented 7 years ago

can you just execute * * * * * ./cjdroute < cjdroute.conf in your crontab???

elimisteve commented 7 years ago

I didn't realize that if you run cjdroute and it detected another copy of itself running, it'd just exit... so yeah, I basically just did the above; thanks for the tip!

(lol is this what other people do? It's not stable yet?)

thefinn93 commented 7 years ago

I just let systemd restart it...

elimisteve commented 7 years ago

@thefinn93 How do you do that with a binary that seemingly self-daemonizes like cjdroute?

thefinn93 commented 7 years ago

cjdroute --nobg < /etc/cjdroute.conf

See: https://github.com/cjdelisle/cjdns/blob/master/contrib/systemd/cjdns.service

thefinn93 commented 7 years ago

Usually I take that service file, get rid of the ExecStartPre and Also lines, and slap it on a server