Update hotspare to NUC specs
BUG=skia:
Change-Id: I3e9e66e6e5b8510eadefe6703cc621d4eb2341f0
Reviewed-on: https://skia-review.googlesource.com/10035
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
diff --git a/skolo/build_release_hotspare b/skolo/build_release_hotspare
index f4a3533..4a17de3 100755
--- a/skolo/build_release_hotspare
+++ b/skolo/build_release_hotspare
@@ -15,6 +15,7 @@
${INSTALL} --mode=644 -T ./sys/${APPNAME}.service ${ROOT}/etc/systemd/system/${APPNAME}.service
${INSTALL} --mode=644 -T ./raspberry-pi/start_serving_image.yml ${ROOT}/usr/local/share/${APPNAME}/start_serving_image.yml
${INSTALL} --mode=644 -T ./raspberry-pi/stop_serving_image.yml ${ROOT}/usr/local/share/${APPNAME}/stop_serving_image.yml
+${INSTALL} --mode=644 -T ./service-account.json ${ROOT}/usr/local/share/${APPNAME}/service-account.json
}
source ../bash/release.sh
diff --git a/skolo/sys/hotspare.service b/skolo/sys/hotspare.service
index 7ffcc24..bed8dce 100644
--- a/skolo/sys/hotspare.service
+++ b/skolo/sys/hotspare.service
@@ -7,7 +7,7 @@
ExecStart=/usr/local/bin/hotspare \
--logtostderr \
--prom_port=:20003 \
- --virtual_interface "enp5s0:0" \
+ --virtual_interface "eno1:0" \
--sync_period "10m" \
--virtual_ip "192.168.1.100" \
--liveness_addr "192.168.1.99:2049" \
@@ -15,7 +15,7 @@
--sync_local_path "/opt/rpi_img/prod.img" \
--start_serving_playbook=/usr/local/share/hotspare/start_serving_image.yml \
--stop_serving_playbook=/usr/local/share/hotspare/stop_serving_image.yml \
- --service_account_path=/home/chrome-bot/service-account.json
+ --service_account_path=/usr/local/share/hotspare/service-account.json
Restart=always
User=chrome-bot