Set default restart policy for phosphor services

Reduce number of service restarts and increase wait
time between restarts.

- Change the StartLimitBurst to 3
Five just seems excessive for our services in openbmc.  In all fail
scenarios seen so far (other then with phosphor-hwmon), either
restarting once does the job or restarting all 5 times does not help
and we just end up hitting the 5 limit anyway.

- Change the RestartSec from 100ms to 1s.
When a service hits a failure, our new debug collection service kicks
in.  When a core file is involved, it's been found that generating 5 core
files within ~500ms puts a huge strain on the BMC.  Also, if the bmc is
going to get a fix on a restart of a service, the more time the better
(think retries on device driver scenarios).

Change-Id: I0e5bb3f32022cdb72d00f1a861a69653ef937cf1
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
2 files changed
tree: 5c215015689f6f73880941c9b87795afdff1d240
  1. classes/
  2. common/
  3. conf/
  4. COPYING.apache-2.0
  5. COPYING.MIT
  6. LICENSE