Added notes about systemd dependencies. stable-1.5
authorFlorian Pose <fp@igh-essen.com>
Wed, 19 Feb 2014 12:28:15 +0100
branchstable-1.5
changeset 2539 d2d43d2e7f31
parent 2538 51ad16e57f8f
child 2540 fca12d7035d1
Added notes about systemd dependencies.
script/ethercat.service.in
--- a/script/ethercat.service.in	Tue Dec 10 10:43:13 2013 +0100
+++ b/script/ethercat.service.in	Wed Feb 19 12:28:15 2014 +0100
@@ -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