[systemd-devel] Path unit configuration starts early (DefaultDependencies=no)

Abdelghani Ouchabane abdelghani at ezono.com
Mon Nov 11 08:26:28 PST 2013


Hallo,
   I have two configuration files: ezono-cyclades-t_upn.path & 
ezono-cyclades-t_upn.service


Where:

ezono-cyclades-t_upn.path :

[Unit]
Description=ezono-cyclades-t_upn Service Spool
DefaultDependencies=no
Conflicts=shutdown.target
Before=shutdown.target

[Path]
PathExists=/tmp/cyclades/start-ezono-cyclades-gui

[Install]
WantedBy=ezono-cyclades.target


The problem is that by passing "DefaultDependencies=no" 
ezono-cyclades-t_upn.service doesn't start after 
/tmp/cyclades/start-ezono-cyclades-gui is created, even after all other 
units run and I delete /tmp/cyclades/start-ezono-cyclades-gui and create 
it again.

Any idea please.

Regards
Abdelghani



Log:

ezono-cyclades-t_upn.service - ezono-cyclades-t_upn Service
    Loaded: loaded 
(/usr/lib/systemd/system/ezono-cyclades-t_upn.service; static)
    Active: inactive (dead)


ezono-cyclades-t_upn.path - ezono-cyclades-t_upn Service Spool
    Loaded: loaded (/usr/lib/systemd/system/ezono-cyclades-t_upn.path; 
enabled)
    Active: active (waiting) since Mon 2013-11-11 17:19:30 CET; 4min 58s ago

Nov 11 17:19:30 sonostation-usb12-eth.ezono.net systemd[1]: Starting 
ezono-cyclades-t_upn Service Spool.




More information about the systemd-devel mailing list