News for hackers. Stuff that matters.
Re:Walkthrough for Systemd Portable Services by emmelaich on Friday July 06, 2018 @01:44AM (#17469173)
I used to make sailors blush with the intensity of expletives about various sysvinit scripts.

Do you know about Kafka, Spark, and Jenkins? They're all Java but they each have their batshit fucking insane quirks on starting up.

One of them runs in foreground. One of them runs in background.

Jenkins (actually as Hudson) had it's own fucking Unix daemon-isation inbuilt. For a Java program!

Nuts!

Thankfully pretty much popular Java server has a systemd unit file written for it which avoids any shell and Exec's Java directly.

Re:Walkthrough for Systemd Portable Services by yrro on Friday July 06, 2018 @06:49AM (#17470359)
I can't fathom why it's so popular for Java programs to ship a slew of poorly-tested shell scripts that read environment variables and config files, and transform these into -D arguments to the java command. Why on earth don't they just o that with Java!?
Re:Walkthrough for Systemd Portable Services by JdeBP on Saturday July 07, 2018 @02:23AM (#17477346)
Re:Walkthrough for Systemd Portable Services by yrro on Wednesday July 11, 2018 @05:40AM (#17505612)
Indeed, I have referred to your web site many times over the years while unpicking various horrific daemon control shell scripts in order to run them under sane init systems... :)