freedive/deploy-local.sh

8 lines
198 B
Bash

#!/bin/sh
doas service freedive onestop
doas pkg remove -y freedive
mix package
doas pkg install -U -y freedive-0.1.0.pkg
doas service freedive onestart
doas tail -f /var/log/freedive/freedive.log