script/ethercat.service.in
branchstable-1.5
changeset 2539 d2d43d2e7f31
parent 2377 aa0f6f939cb3
equal deleted inserted replaced
2538:51ad16e57f8f 2539:d2d43d2e7f31
     1 #
     1 #
     2 # EtherCAT Master Kernel Modules
     2 # EtherCAT master kernel modules
     3 #
     3 #
     4 
     4 
     5 [Unit]
     5 [Unit]
     6 Description=EtherCAT Master Kernel Modules
     6 Description=EtherCAT Master Kernel Modules
       
     7 
       
     8 #
       
     9 # Uncomment this, if the generic Ethernet driver is used. It assures, that the
       
    10 # network interfaces are configured, before the master starts.
       
    11 #
       
    12 #Requires=network.service # Stop master, if network is stopped
       
    13 #After=network.service # Start master, after network is ready
       
    14 
       
    15 #
       
    16 # Uncomment this, if a native Ethernet driver is used. It assures, that the
       
    17 # network interfaces are configured, after the Ethernet drivers have been
       
    18 # replaced. Otherwise, the networking configuration tools could be confused.
       
    19 #
       
    20 #Before=network.service
     7 
    21 
     8 [Service]
    22 [Service]
     9 Type=oneshot
    23 Type=oneshot
    10 RemainAfterExit=yes
    24 RemainAfterExit=yes
    11 ExecStart=@prefix@/sbin/ethercatctl start
    25 ExecStart=@prefix@/sbin/ethercatctl start