blob: 95ef0b88d4de4e6b850ee41fc86596e233470259 [file] [log] [blame]
Brad Bishop3c90f592016-08-08 08:53:13 -04001[Unit]
2Description=Phosphor Power%i Control
3Wants=mapper-wait@-org-openbmc-managers-System.service
4After=mapper-wait@-org-openbmc-managers-System.service
5
6[Service]
7EnvironmentFile={envfiledir}/obmc/power_control
8Restart=always
Michael Tritzfbd81be2017-08-15 14:07:23 -05009ExecStart=/usr/bin/env power_control.exe $POLL_INTERVAL $PGOOD_TIMEOUT
10SyslogIdentifier=power_control.exe
Brad Bishop3c90f592016-08-08 08:53:13 -040011Type=dbus
12BusName={BUSNAME}
13
14[Install]
15WantedBy={SYSTEMD_DEFAULT_TARGET}