xref: /openbmc/openpower-proc-control/service_files/op-stop-instructions@.service.in (revision 211f8a9a8ceac7e0d369c9b76c4ff542ccfb8ff0)
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
8Conflicts=obmc-chassis-poweron@%i.target
9ConditionPathExists=/sys/class/fsi-master/fsi0/slave@00:00/cfam_id
10ConditionPathExists=!/run/openbmc/mpreboot@%i
11
12[Service]
13RemainAfterExit=yes
14Type=oneshot
15TimeoutStartSec=20
16ExecStart=/bin/sh -c 'systemctl stop attn_handler.service || true'
17ExecStart=/usr/bin/openpower-proc-control threadStopAll
18
19[Install]
20WantedBy=obmc-host-stop@%i.target
21