Hallo,
I have two systemd files: ezono-cyclades-t_idl.path & ezono-cyclades-t_idl.service ( I am using systemd 204 ), xxx.path triggers xxxx.service

And I am launching the main program as:

ExecStart=/usr/bin/python /opt/cyclades/bin/t_idl.pyo

Or

ExecStart=/usr/bin/python /opt/cyclades/bin/t_idl.py

The problem is that systemd is keeping starting ezono-cyclades-t_idl.service even after the unit starts. You can see the appearance of "Started ezono-cyclades-t_idl Service" many times in the below log. I tried many options but unfortunately I could not fix it. The problem here is that I have many other units and keeping starting this unit is causing problems for the other units. i doubt that the root of the problem is the python script!!

It will be great if you can help me to find a solution.


Many thanks in advance.

Regards
Abdelghani



Here is the log:

ezono-cyclades-t_idl.service - ezono-cyclades-t_idl Service
Loaded: loaded (/usr/lib/systemd/system/ezono-cyclades-t_idl.service; static)
   Active: active (running) since Mon 2013-11-11 16:35:06 CET; 11min ago
 Main PID: 1377 (sh)
   CGroup: name=systemd:/system/ezono-cyclades-t_idl.service
|-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 |-1433 /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
           |-1550 /usr/bin/python /opt/cyclades/bin/t_idl.pyo
           `-1551 logger -p local4.err -t IDL --

Nov 11 16:35:12 sonostation-usb12-eth.ezono.net systemd[1]: Started ezono-cyclades-t_idl Service. Nov 11 16:35:12 sonostation-usb12-eth.ezono.net systemd[1]: Started ezono-cyclades-t_idl Service. Nov 11 16:35:12 sonostation-usb12-eth.ezono.net systemd[1]: Started ezono-cyclades-t_idl Service. Nov 11 16:35:14 sonostation-usb12-eth.ezono.net systemd[1]: Started ezono-cyclades-t_idl Service. Nov 11 16:35:14 sonostation-usb12-eth.ezono.net systemd[1]: Started ezono-cyclades-t_idl Service. Nov 11 16:35:14 sonostation-usb12-eth.ezono.net systemd[1]: Started ezono-cyclades-t_idl Service. Nov 11 16:35:14 sonostation-usb12-eth.ezono.net systemd[1]: Started ezono-cyclades-t_idl Service. Nov 11 16:35:16 sonostation-usb12-eth.ezono.net systemd[1]: Started ezono-cyclades-t_idl Service. Nov 11 16:35:18 sonostation-usb12-eth.ezono.net systemd[1]: Started ezono-cyclades-t_idl Service. Nov 11 16:35:32 sonostation-usb12-eth.ezono.net systemd[1]: Started ezono-cyclades-t_idl Service.



_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to