Initial commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Ampere Computing LLC Power OFF Chassis
|
||||
|
||||
[Service]
|
||||
RemainAfterExit=no
|
||||
Type=oneshot
|
||||
ExecStart=/usr/libexec/ampere-hostctrl/ampere_power_util.sh mb hotswap
|
||||
SyslogIdentifier=ampere_power_util.sh
|
||||
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Ampere Computing LLC Power OFF Chassis
|
||||
Requires=phosphor-wait-power-off@%i.service
|
||||
Before=phosphor-wait-power-off@%i.service
|
||||
Conflicts=obmc-chassis-poweron@0.target
|
||||
|
||||
[Service]
|
||||
RemainAfterExit=no
|
||||
Type=oneshot
|
||||
ExecStart=/usr/libexec/ampere-hostctrl/ampere_power_util.sh mb off
|
||||
SyslogIdentifier=ampere_power_util.sh
|
||||
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Ampere Computing LLC Power ON Chassis
|
||||
Conflicts=obmc-chassis-poweroff@0.target
|
||||
|
||||
[Service]
|
||||
RemainAfterExit=yes
|
||||
Type=oneshot
|
||||
ExecStart=/usr/libexec/ampere-hostctrl/ampere_power_util.sh mb on
|
||||
SyslogIdentifier=ampere_power_util.sh
|
||||
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Ampere Computing LLC power cycle service
|
||||
Conflicts=obmc-host-start@0.target
|
||||
OnFailure=obmc-chassis-powerreset@0.target
|
||||
Wants=kudo-bios-verify.service
|
||||
After=kudo-bios-verify.service
|
||||
|
||||
[Service]
|
||||
RemainAfterExit=no
|
||||
Type=oneshot
|
||||
ExecStart=/usr/libexec/ampere-hostctrl/ampere_power_util.sh mb host_cycle
|
||||
SyslogIdentifier=ampere_power_util.sh
|
||||
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Ampere Computing LLC power cycle service
|
||||
Conflicts=obmc-host-start@0.target
|
||||
OnFailure=obmc-chassis-powerreset@0.target
|
||||
Wants=kudo-bios-verify.service
|
||||
After=kudo-bios-verify.service
|
||||
|
||||
[Service]
|
||||
RemainAfterExit=no
|
||||
Type=oneshot
|
||||
ExecStart=/usr/libexec/ampere-hostctrl/ampere_power_util.sh mb host_reset
|
||||
SyslogIdentifier=ampere_power_util.sh
|
||||
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Ampere Computing LLC host shutdown ACK
|
||||
Requires=phosphor-wait-power-off@%i.service
|
||||
Before=phosphor-wait-power-off@%i.service
|
||||
Conflicts=obmc-chassis-poweron@0.target
|
||||
|
||||
[Service]
|
||||
RemainAfterExit=no
|
||||
Type=oneshot
|
||||
ExecStart=/usr/libexec/ampere-hostctrl/ampere_power_util.sh mb shutdown_ack
|
||||
SyslogIdentifier=ampere_power_util.sh
|
||||
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Ampere Computing LLC graceful shutdown host
|
||||
Conflicts=obmc-host-start@0.target
|
||||
OnFailure=obmc-chassis-poweroff@0.target
|
||||
|
||||
[Service]
|
||||
RemainAfterExit=no
|
||||
Type=oneshot
|
||||
ExecStart=/usr/libexec/ampere-hostctrl/ampere_power_util.sh mb graceful_shutdown
|
||||
SyslogIdentifier=ampere_power_util.sh
|
||||
Reference in New Issue
Block a user