xref: /openbmc/openpower-proc-control/service_files/op-clear-sys-dump-active@.service.in (revision 03eaa3e807c1c79b97efbd44a8ce101f69bfbcdb)
19ca8a117SAndrew Geissler[Unit]
29ca8a117SAndrew GeisslerDescription=Reset pvm_sys_dump_active back to Disabled
39ca8a117SAndrew GeisslerWants=xyz.openbmc_project.biosconfig_manager.service
49ca8a117SAndrew GeisslerAfter=xyz.openbmc_project.biosconfig_manager.service
59ca8a117SAndrew GeisslerAfter=op-enter-mpreboot@%i.service
69ca8a117SAndrew GeisslerAfter=obmc-host-reset@%i.target
79ca8a117SAndrew GeisslerConditionPathExists=!/run/openbmc/host@%i-on
89ca8a117SAndrew GeisslerConditionPathExists=!/run/openbmc/mpreboot@%i
99ca8a117SAndrew Geissler
109ca8a117SAndrew Geissler[Service]
119ca8a117SAndrew GeisslerRestart=no
129ca8a117SAndrew GeisslerType=oneshot
139ca8a117SAndrew GeisslerExecStart=/bin/sh -c \
149ca8a117SAndrew Geissler  "busctl set-property xyz.openbmc_project.BIOSConfigManager \
159ca8a117SAndrew Geissler   /xyz/openbmc_project/bios_config/manager xyz.openbmc_project.BIOSConfig.Manager \
16*03eaa3e8SAndrew Geissler   PendingAttributes a{s\\(sv\\)} 1 pvm_sys_dump_active \
179ca8a117SAndrew Geissler   xyz.openbmc_project.BIOSConfig.Manager.AttributeType.Enumeration s Disabled"
189ca8a117SAndrew Geissler
199ca8a117SAndrew Geissler[Install]
209ca8a117SAndrew GeisslerWantedBy=multi-user.target
21