podterminal/Makefile

21 lines
406 B
Makefile
Raw Normal View History

2024-01-27 11:20:40 +01:00
release: deps
CGO_ENABLED=1 go build -buildvcs=true .
2024-01-27 11:20:40 +01:00
dev:
go build .
./podterminal
deps:
go mod download
go mod tidy
install:
2024-01-29 09:30:22 +01:00
cp podterminal /usr/local/bin/podterminal
mkdir -p /etc/podterminal
useradd -r -s /bin/false podterminal
2024-01-29 09:30:22 +01:00
cp ./exampleconfig.yaml /etc/podterminal/config.yaml
cp podterminal.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable --now podterminal