[systemd-devel] systemd + ExecStart + python script

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Mon Nov 11 08:32:01 PST 2013


On Mon, Nov 11, 2013 at 04:55:05PM +0100, Abdelghani Ouchabane wrote:
> ExecStart=/usr/bin/python /opt/cyclades/bin/t_idl.pyo

>            |-1377 /bin/sh -c if [ ! -e
> /home/x/taskconfig/screensaver ]; then /bin/mkdir -p
> /home/x/taskconfig ;                        /bin/cp
> /opt/cyclades/etc/taskconfig/screensaver
> /home/x/taskconfig/screensaver ;                        fi ;
> /bin/echo -n $BASHPID > /var/tmp/cyclades_services/IDL/pid ;
> DISPLAY=:0 CYCLADES_ERR=IDL /opt/cyclades/bin/logger.sh -c
> "/usr/bin/python /opt/cyclades/bin/t_idl.pyo" -p err -t IDL

Those two don't correspond. Either you're starting the program
directly, or through some shell scripts. It would help if you
showed the two unit files.

Zbyszek




More information about the systemd-devel mailing list