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 |
Brad Bishop | 030da25 | 2017-01-11 15:30:07 -0500 | [diff] [blame] | 5 | |
6 | [Service] | ||||
7 | Restart=always | ||||
8 | ExecStart={sbindir}/phosphor-hwmon-readd -o %f | ||||
9 | EnvironmentFile=/etc/default/obmc/hwmon/%I.conf |