script/ethercat.service.in
author Florian Pose <fp@igh-essen.com>
Tue, 24 Jan 2012 11:43:50 +0100
branchredundancy
changeset 2351 9b0c6e1e7abe
parent 2309 b0ddf0ea0a60
child 2377 aa0f6f939cb3
permissions -rw-r--r--
Added missing dist for e1000 driver for 2.6.31.
2309
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     1
#
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     2
# EtherCAT Master Kernel Modules
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     3
#
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
[Unit]
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
Description=EtherCAT Master Kernel Modules
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     8
[Service]
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     9
Type=oneshot
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    10
RemainAfterExit=yes
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    11
ExecStart=@prefix@/sbin/ethercatctl start
b0ddf0ea0a60 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    12
ExecStop=@prefix@/sbin/ethercatctl stop