From 145e2ec23964c85b9e4496d0724cc3b77bd373bf Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Wed, 19 Feb 2014 12:28:15 +0100 Subject: [PATCH] Added notes about systemd dependencies. --- script/ethercat.service.in | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/script/ethercat.service.in b/script/ethercat.service.in index e943e49c..12b09a66 100644 --- a/script/ethercat.service.in +++ b/script/ethercat.service.in @@ -1,10 +1,24 @@ # -# EtherCAT Master Kernel Modules +# 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