Brad Bishop | 030da25 | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Phosphor Hwmon Poller |
| 3 | ConditionFileNotEmpty=/etc/default/obmc/hwmon/%I.conf |
Andrew Geissler | e4a9b07 | 2017-07-26 17:55:30 -0500 | [diff] [blame] | 4 | After=xyz.openbmc_project.ObjectMapper.service |
Brad Bishop | 030da25 | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 5 | |
| 6 | [Service] |
Joel Stanley | 7b29e20 | 2017-09-05 17:44:33 +1000 | [diff] [blame] | 7 | Restart=on-failure |
Michael Tritz | fbd81be | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 8 | ExecStart=/usr/bin/env phosphor-hwmon-readd -o %f |
| 9 | SyslogIdentifier=phosphor-hwmon-readd |
Brad Bishop | 030da25 | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 10 | EnvironmentFile=/etc/default/obmc/hwmon/%I.conf |