blob: 95ef0b88d4de4e6b850ee41fc86596e233470259 [file] [log] [blame]
[Unit]
Description=Phosphor Power%i Control
Wants=mapper-wait@-org-openbmc-managers-System.service
After=mapper-wait@-org-openbmc-managers-System.service
[Service]
EnvironmentFile={envfiledir}/obmc/power_control
Restart=always
ExecStart=/usr/bin/env power_control.exe $POLL_INTERVAL $PGOOD_TIMEOUT
SyslogIdentifier=power_control.exe
Type=dbus
BusName={BUSNAME}
[Install]
WantedBy={SYSTEMD_DEFAULT_TARGET}