blob: 2544eff229fb124eea90ea2b8ce0faa8cbda7be6 [file] [log] [blame]
#!/bin/bash
# Builds and uploads a debian package for prober.
APPNAME=proberd
DESCRIPTION="Application to probe application uptime and status."
SYSTEMD=${APPNAME}.service
# Copy files into the right locations in ${ROOT}.
copy_release_files()
{
INSTALL="sudo install -D --verbose --backup=none --group=root --owner=root"
${INSTALL} --mode=644 -T ./sys/${APPNAME}.service ${ROOT}/etc/systemd/system/${APPNAME}.service
${INSTALL} --mode=755 -T ${GOPATH}/bin/prober ${ROOT}/usr/local/bin/prober
${INSTALL} --mode=644 -T ./probers.json ${ROOT}/etc/skiaprober/probers.json
}
source ../bash/release.sh