13 lines
309 B
Bash
Executable File
13 lines
309 B
Bash
Executable File
#!/bin/bash
|
|
# Restart the service
|
|
sudo systemctl stop c-relay.service
|
|
|
|
# Copy the binary to the deployment location
|
|
cp build/c_relay_static_x86_64 ~/Storage/c_relay/crelay
|
|
|
|
# Restart the service
|
|
sudo systemctl restart c-relay.service
|
|
|
|
# Show service status
|
|
sudo systemctl status c-relay.service --no-pager -l
|