script/ethercat.service.in
author Florian Pose <fp@igh-essen.com>
Fri, 06 Apr 2012 23:30:35 +0200
branchredundancy
changeset 2373 593272e5a169
parent 2309 b0ddf0ea0a60
child 2377 aa0f6f939cb3
permissions -rw-r--r--
Clarified fields of ec_master_state_t in redundancy case.
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