On Tue, Oct 11, 2011 at 3:39 PM, Stefan G. Weichinger <li...@xunil.at> wrote:
> Am 12.10.2011 00:23, schrieb Canek Peláez Valdés:
>
>> Your script (I believe) does not have execution perms. All the
>> commands for ExecStart (and ExecStop) need to be executable, so do a
>>
>> chmod +x /etc/local.d/stefan.start
>
> I showed you before:
>
> # ll /etc/local.d/stefan.start
> -rwxr-xr-x 1 root root 795 11. Okt 16:47 /etc/local.d/stefan.start

Sorry, didn't see it. Can you execute it calling it directly? Maybe
it's missing the proper shebang.

>> Also, if your scripts does not return 0 (or the last command it
>> executes does not return 0), it will tell you with the status= flag.
>
> Will check this.

I really think is that systemd cannot execute it, but check that also.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México

Reply via email to