blob: 9903e6e2606588c8ddf90b99896e0065a398d1e2 [file] [log] [blame]
Brad Bishop3c90f592016-08-08 08:53:13 -04001[Unit]
2Description=Phosphor Power%i Control
Brad Bishop3c90f592016-08-08 08:53:13 -04003
4[Service]
5EnvironmentFile={envfiledir}/obmc/power_control
6Restart=always
Michael Tritzfbd81be2017-08-15 14:07:23 -05007ExecStart=/usr/bin/env power_control.exe $POLL_INTERVAL $PGOOD_TIMEOUT
8SyslogIdentifier=power_control.exe
Brad Bishop3c90f592016-08-08 08:53:13 -04009Type=dbus
10BusName={BUSNAME}
11
12[Install]
13WantedBy={SYSTEMD_DEFAULT_TARGET}