Files
c-relay-pg/deploy_local.sh

13 lines
324 B
Bash
Executable File

#!/bin/bash
# Restart the service
sudo systemctl stop c-relay-pg.service
# Copy the binary to the deployment location
cp build/c_relay_pg_static_x86_64 ~/Storage/c_relay_pg/crelay
# Restart the service
sudo systemctl restart c-relay-pg.service
# Show service status
sudo systemctl status c-relay-pg.service --no-pager -l