[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: systemd and bash scripts



Careful, it looks like your mailer breaks threading.

De: "tand.read" <tand.read@yahoo.com>

> Something very strange goes on and probably
> the wise thing is to use old good rc3.d links

Strange indeed. You could try adding an insulation layer between
systemd and your script by setting ExecStart to a C program that
merely execs you script. Something along the lines of

#include <unistd.h>
int main(int argc, char *argv[])
{
  execl("/bin/bash", "/bin/bash", "/root/bin/mytest.sh", "start", (char *) 0);
}


Reply to: