script/ethercat.service.in
author Florian Pose <fp@igh-essen.com>
Fri, 16 Mar 2012 18:44:59 +0100
branchredundancy
changeset 2369 2536d60dea6e
parent 2309 b0ddf0ea0a60
child 2377 aa0f6f939cb3
permissions -rw-r--r--
Partial WC output in domains command.
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