script/ethercat.service.in
author Edouard Tisserant <edouard.tisserant@gmail.com>
Wed, 12 Sep 2018 22:15:18 +0200
branchstable-1.5
changeset 2709 e0c2f17ebed1
parent 2539 d2d43d2e7f31
permissions -rw-r--r--
Added devices/rtdmnet.c, heavily based on devices/generic.c, and with similar purpose. It uses Xenomai's RTNet/RTDM socket instead of Linux socket.
#
# EtherCAT master kernel modules
#

[Unit]
Description=EtherCAT Master Kernel Modules

#
# Uncomment this, if the generic Ethernet driver is used. It assures, that the
# network interfaces are configured, before the master starts.
#
#Requires=network.service # Stop master, if network is stopped
#After=network.service # Start master, after network is ready

#
# Uncomment this, if a native Ethernet driver is used. It assures, that the
# network interfaces are configured, after the Ethernet drivers have been
# replaced. Otherwise, the networking configuration tools could be confused.
#
#Before=network.service

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=@prefix@/sbin/ethercatctl start
ExecStop=@prefix@/sbin/ethercatctl stop

[Install]
WantedBy=multi-user.target