script/ethercat.service.in
author Florian Pose <fp@igh-essen.com>
Mon, 23 Jul 2012 16:20:40 +0200
branchstable-1.5
changeset 2407 35223d2e6e72
parent 2377 aa0f6f939cb3
child 2539 d2d43d2e7f31
permissions -rw-r--r--
Added e1000e driver for kernel 3.2, thanks to J. Kunz.
2192
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     1
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     2
# EtherCAT Master Kernel Modules
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     3
#
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
[Unit]
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
Description=EtherCAT Master Kernel Modules
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     8
[Service]
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     9
Type=oneshot
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    10
RemainAfterExit=yes
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    11
ExecStart=@prefix@/sbin/ethercatctl start
1c7c546ac08c Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    12
ExecStop=@prefix@/sbin/ethercatctl stop
2377
aa0f6f939cb3 Install ethercat service to multi-user target by default.
Florian Pose <fp@igh-essen.com>
parents: 2192
diff changeset
    13
aa0f6f939cb3 Install ethercat service to multi-user target by default.
Florian Pose <fp@igh-essen.com>
parents: 2192
diff changeset
    14
[Install]
aa0f6f939cb3 Install ethercat service to multi-user target by default.
Florian Pose <fp@igh-essen.com>
parents: 2192
diff changeset
    15
WantedBy=multi-user.target