Re: systemd and bash scripts

2016-02-27 Thread Michael Biebl
Am 26.02.2016 um 17:42 schrieb tand.read: > dear debian supporters, > > I am testing my own systemd unit (a service) > > that has this [service] section: > Type=oneshot > > RemainAfterExit=yes > ExecStart=/root/bin/mytest.sh start > ExecStop=/bin/echo /root/bin/mytest.sh stop > > ("Want="-ed b

Re: systemd and bash scripts

2016-02-27 Thread Jean-Baptiste Thomas
Careful, it looks like your mailer breaks threading. De: "tand.read" > 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 me

Re: systemd and bash scripts

2016-02-27 Thread Jean-Baptiste Thomas
De: "tand.read" > I am testing my own systemd unit (a service) that has this > [service] section: > Type=oneshot > > RemainAfterExit=yes > ExecStart=/root/bin/mytest.sh start > ExecStop=/bin/echo /root/bin/mytest.sh stop > > ("Want="-ed by multi-user.target and "After=" local-fs.target) > and I