2 ms·
The first link you sent is 1024 lines long, do you genuinely believe using something like this is preferred to a simple shell script + nohup? I'm amazed at the
by soheil 6y ago
The first link you sent is 1024 lines long, do you genuinely believe using something like this is preferred to a simple shell script + nohup? I'm amazed at the hoops some devs jump through just to get to work with their favorite tool.
- viraptor 6y agoThat script is never going to be simple in a few years. You're going to keep adding features to it with time until it badly implementsa tiny fraction of what you already had available in your init system. The question could be: why spend time rewriting a broken restart script if you already have a good version available behind a config switch. If you don't like how long that man page is, you should check the size of bash+nohub man page which you'd otherwise need :-)
- soheil 6y agobash + nohup are elementary parts of using Linux, systemD is not and therefore learning it is added complexity.