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 |
Brad Bishop | 47ddac1 | 2017-02-25 15:41:31 -0500 | [diff] [blame] | 4 | StopWhenUnneeded=true |
Andrew Geissler | e4a9b07 | 2017-07-26 17:55:30 -0500 | [diff] [blame] | 5 | After=xyz.openbmc_project.ObjectMapper.service |
Brad Bishop | 030da25 | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 6 | |
| 7 | [Service] |
| 8 | Restart=always |
| 9 | ExecStart={sbindir}/phosphor-hwmon-readd -o %f |
| 10 | EnvironmentFile=/etc/default/obmc/hwmon/%I.conf |