script/ethercat.service.in
author Florian Pose <fp@igh-essen.com>
Mon, 23 Jul 2012 15:35:32 +0200
changeset 2400 7c9c12c61104
parent 2390 428ef1e462e4
child 2539 d2d43d2e7f31
permissions -rw-r--r--
Added r8169 driver for 2.6.36, thanks to J. Kunz.
2189
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     1
#
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     2
# EtherCAT Master Kernel Modules
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     3
#
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     4
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     5
[Unit]
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     6
Description=EtherCAT Master Kernel Modules
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     7
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     8
[Service]
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
     9
Type=oneshot
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    10
RemainAfterExit=yes
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    11
ExecStart=@prefix@/sbin/ethercatctl start
002b978df979 Added first systemd support.
Florian Pose <fp@igh-essen.com>
parents:
diff changeset
    12
ExecStop=@prefix@/sbin/ethercatctl stop
2390
428ef1e462e4 Install ethercat service to multi-user target by default.
Florian Pose <fp@igh-essen.com>
parents: 2189
diff changeset
    13
428ef1e462e4 Install ethercat service to multi-user target by default.
Florian Pose <fp@igh-essen.com>
parents: 2189
diff changeset
    14
[Install]
428ef1e462e4 Install ethercat service to multi-user target by default.
Florian Pose <fp@igh-essen.com>
parents: 2189
diff changeset
    15
WantedBy=multi-user.target