Initial commit
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Ampere Computing LLC force reset host%i
|
||||
Wants=phosphor-reboot-host@%i.service
|
||||
Conflicts=obmc-chassis-poweroff@%i.target
|
||||
OnFailure=obmc-chassis-powerreset@%i.target
|
||||
|
||||
[Service]
|
||||
RemainAfterExit=no
|
||||
Type=oneshot
|
||||
ExecStart=/bin/sh -c "sleep 3 && /usr/bin/env ampere_power_util.sh mb force_reset"
|
||||
SyslogIdentifier=ampere_power_util.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=obmc-host-force-warm-reboot@%i.target
|
||||
Reference in New Issue
Block a user