Initial commit
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Phosphor Chassis%i State Manager
|
||||
Before=mapper-wait@-xyz-openbmc_project-state-chassis%i.service
|
||||
After=org.openbmc.control.Power@%i.service
|
||||
After=host-powerctrl.service
|
||||
|
||||
[Service]
|
||||
ExecStartPre=/bin/sleep 5
|
||||
ExecStart=/usr/bin/phosphor-chassis-state-manager --chassis %i
|
||||
Restart=always
|
||||
Type=dbus
|
||||
BusName=xyz.openbmc_project.State.Chassis%i
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=Phosphor Host%i State Manager
|
||||
Wants=mapper-wait@-xyz-openbmc_project-control-host%i-auto_reboot.service
|
||||
After=mapper-wait@-xyz-openbmc_project-control-host%i-auto_reboot.service
|
||||
Wants=mapper-wait@-xyz-openbmc_project-state-chassis%i.service
|
||||
After=mapper-wait@-xyz-openbmc_project-state-chassis%i.service
|
||||
After=phosphor-ipmi-host.service
|
||||
Before=obmc-host-reset@%i.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/phosphor-host-state-manager --host %i
|
||||
Restart=always
|
||||
Type=dbus
|
||||
BusName=xyz.openbmc_project.State.Host%i
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user