Systemd unit file: Can/Should ExecStart and ExecStop run a script?

Jochen Schmitt Jochen at herr-schmitt.de
Wed Oct 19 18:52:35 UTC 2011


Am 19.10.2011 20:43, schrieb Richard Shaw:
> ExecStart=/bin/sh /usr/libexec/mythtv/startmythbackend.sh
> ExecStop=/bin/sh /usr/libexec/mythtv/stopmythbackend.sh
>

You don't need to specified /bin/sh if your script starts with
a proper #!/bin/sh.

Best Regards:

Jochen Schmitt


More information about the devel mailing list