test3/heartbeat/install.sh

7 lines
185 B
Bash
Raw Permalink Normal View History

2023-09-11 01:56:25 +00:00
#!/bin/bash
sudo cp device-heartbeat /usr/local/bin/
sudo cp device-heartbeat.service /etc/systemd/system/
sudo systemctl start device-heartbeat
sudo systemctl enable device-heartbeat