Closed dns2utf8 closed 7 years ago
Not necessary anymore, I added the auto-restart option to the Systemd unit file. Next time it goes down it should be restarted automatically.
@dbrgn validator seems to be down
@alexdor thanks for letting me know, should be fixed now. restart config wasn't strict enough π
That was fast, thanks for restoring it : )
Great to hear that there are actually people using it π
We are writing our new API over at LambdaSpace, so I'm currently writing tests to validate that our response is compatible with the spec.
Please let us know if we can help with the main project as well : )
Cool!
Please let us know if we can help with the main project as well : )
We're still trying to sort things out with the original maintainer. Hoping to make the community around the SpaceAPI more active :)
Hi @dbrgn, sorry for bugging you again but validator seems to be down
Hm, that is strange. The system service is enabled and restart policy is set to always
. I'll have to investigate this further.
Would it help if I dockerize the validator? I had great success keeping services up using Dockerβs restart policies On Sun, 14 Jan 2018 at 12:55 Danilo Bargen notifications@github.com wrote:
Hm, that is strange. The system service is enabled and restart policy is set to always. I'll have to investigate this further.
β You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/spacedirectory/validator/issues/22#issuecomment-357503447, or mute the thread https://github.com/notifications/unsubscribe-auth/AICthwVZbBis46vXny8M1BpC1ctOvyL8ks5tKd01gaJpZM4ORPfG .
It's back up, and the problem should be fixed now.
The service is started through systemd. I think I just forgot the [Install]
section in the service file π
@dbrgn Maybe you could test it? If you just kill the process manually systemd should try to restart it no?
Yes, that works. The problem was that it wasn't started on boot in the first place, because there was no dependency on it from any boot stage. But now /etc/systemd/system/multi-user.target.wants/spacedirectory-validator.service
exists (which it didn't before), so everything should be fine π
So we catch it the next time it goes down.