xref: /openbmc/openpower-proc-control/service_files/op-stop-instructions@.service.in (revision ed7fb7aee34661d65dc0455316e68d90a36d75fb)
1[Unit]
2Description=Stop instructions for host%i
3After=obmc-host-stop-pre@%i.target
4Before=obmc-host-stopping@%i.target
5After=op-occ-disable@%i.service
6After=openpower-update-bios-attr-table.service
7Conflicts=obmc-host-startmin@%i.target
8ConditionPathExists=/sys/class/fsi-master/fsi0/slave@00:00/cfam_id
9ConditionPathExists=!/run/openbmc/mpreboot@%i
10
11[Service]
12RemainAfterExit=yes
13Type=oneshot
14TimeoutStartSec=20
15ExecStart=/bin/sh -c 'systemctl stop attn_handler.service || true'
16ExecStart=/usr/bin/openpower-proc-control threadStopAll
17
18[Install]
19WantedBy=obmc-host-stop@%i.target
20