feat(update_engine): restart a second after death

It is possible that update_engine will crash. Try to recover by
restarting the update_engine but wait some seconds first.
This commit is contained in:
Brandon Philips 2013-07-03 11:05:18 -07:00
parent 3efa5def15
commit ce476ecc6c

View File

@ -7,6 +7,8 @@ Type=dbus
BusName=org.chromium.UpdateEngine BusName=org.chromium.UpdateEngine
ExecStart=/usr/sbin/update_engine -foreground -logtostderr -no_connection_manager ExecStart=/usr/sbin/update_engine -foreground -logtostderr -no_connection_manager
BlockIOWeight=100 BlockIOWeight=100
Restart=always
RestartSec=30
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target