blob: 95ef0b88d4de4e6b850ee41fc86596e233470259 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
[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}
|