Don't fail install if service cannot be stopped (does not exist yet)
parent
319acbd0e1
commit
db56530311
2
Makefile
2
Makefile
|
@ -45,7 +45,7 @@ test-with-coverage:
|
||||||
go test -tags=unit -timeout=600s -v ./... -coverprofile=coverage.out
|
go test -tags=unit -timeout=600s -v ./... -coverprofile=coverage.out
|
||||||
|
|
||||||
install:
|
install:
|
||||||
sudo systemctl stop edgeboxctl
|
sudo systemctl stop edgeboxctl || true
|
||||||
sudo rm -rf /usr/local/bin/edgeboxctl /usr/local/sbin/edgeboctl /lib/systemd/system/edgeboxctl.service
|
sudo rm -rf /usr/local/bin/edgeboxctl /usr/local/sbin/edgeboctl /lib/systemd/system/edgeboxctl.service
|
||||||
sudo cp ./bin/edgeboxctl /usr/local/bin/edgeboxctl
|
sudo cp ./bin/edgeboxctl /usr/local/bin/edgeboxctl
|
||||||
sudo cp ./bin/edgeboxctl /usr/local/sbin/edgeboxctl
|
sudo cp ./bin/edgeboxctl /usr/local/sbin/edgeboxctl
|
||||||
|
|
Loading…
Reference in New Issue