blob: e60d849681e144596d2ceb2a4bb684003fd963fb [file] [log] [blame]
#!/bin/bash
# Builds and uploads a debian package for cq_watcher.
APPNAME=cq-watcherd
DESCRIPTION="Application to watch over the CQ and alert."
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/cq_watcher ${ROOT}/usr/local/bin/cq_watcher
}
source ../bash/release.sh