Discussion

Ask HN: *How* do you use/organise your (personal) server?

I have a small virtual server for running my side projects, and hosting some websites, but I am considering utilising it more so I would like to hear how do you organise/manage/use your (personal) servers. I am more interested in the way you manage your personal server that what you do with it.

My setup is really basic:

- I use GNU screen to run things in the background.

- I restart some unreliable programs on crash using `while sleep 3; do cmd && break; done` loop; some of them are restarted by systemd.

- Again, for some other programs I use docker.

What I don't like about my current setup:

- I don't know any way to say "if A or B crashes, kill C and restart them all in order B, A, C." Something like Erlang's supervision trees would be perfect but for programs.

- Since the internet connection can be unreliable (or battery might die unexpectedly...), I always start a GNU screen session as soon as I login. I wish there was a better interface for managing those screens (like a web browser with tabs).

- I am not fond of the terminal... Thankfully `fish` makes it so much more bearable with its zero-configuration autocomplete that works like charm, but for some tasks I would love to have a GUI -perhaps a web interface. A perfect example would be cron: I would take something like crontab.guru over editing files manually every single time.

----

Looking forward to your answers!

3 points boramalper 7 years ago 5 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton