Thanks, this is a great explanation. I'll try doing &> /dev/null & tomorrow. I'd like to find the simplest version of this for recommending to other people.
- Posts
- 7
- Comments
- 193
- Joined
- 1 yr. ago
- Posts
- 7
- Comments
- 193
- Joined
- 1 yr. ago
- JumpDeleted
Permanently Deleted
- JumpDeleted
Permanently Deleted
- JumpDeleted
Permanently Deleted
Same here. I'm the only user of my services, so if I try visiting the website and it's down, that's how I know it's down.
I prefer phrasing it differently, though. "With my current uptime monitoring strategy, all endpoints serve as an on-demand healthcheck endpoint."
One legitimate thing I do, though, is have a systemd service that starts each docker compose file. If a container crashes, systemd will notice (I think it keeps an eye on the PIDs automatically) and restart them.