Skip to main content

All Questions

Tagged with
50 votes
9 answers
139k views

How to automatically restart a linux background process if it fails?

I have a process which is executed by init.d script on the background. Eg: case "$1" in start) /bin/myprocess & stop) killall myprocess restart) killall ...
Honza's user avatar
  • 603
37 votes
4 answers
18k views

How does WSL/WSL2/WSLg work without systemd?

As I've understood it, systemd is Linuxes' "master"-daemon, managing all other processes right after it has been started up and run its init-function. Since I had this (now resolved) issue, ...
Caeleste's user avatar
  • 841