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 by multi-user.target and
>
> "After=" local-fs.target)
>
> and I try it out with systemctl start/stop-ing
>
> it when the system is fully on
>
> the ExecStop works fine, showing in journalctl,
> but ExecStart does nothing (not a single line
> in journal), and systemctl status shows it
> as "loaded" and "active (exited)", but not
> a single line of the mytest.sh script has run
How do you know that?
Can you share the .service file and your mytest.sh
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
Attachment:
signature.asc
Description: OpenPGP digital signature