update install script

This commit is contained in:
Aliberk Sandıkçı 2023-07-27 12:32:25 +03:00
parent 53a3d9a778
commit fcd25825ac
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1

View file

@ -13,11 +13,10 @@ git clone https://git.aliberksandikci.com.tr/liderahenk/go-daemon
cd go-daemon/
go build -o c-daemon/bin/ c-daemon/go-files/info.go
gcc -o c-daemon/bin/test c-daemon/daemon/test.c c-daemon/daemon/daemon.c
sudo ln -sv "$(pwd)"/c-daemon/bin/info /info
```
# Installing
# move to
cd c-daemon
sudo mv bin/test /usr/bin/cdaemontmp
sudo mv bin/info /usr/lib/cdaemontmp/info
sudo mv ./bin/test /usr/bin/cdaemontmp
sudo mkdir -p /usr/lib/cdaemontmp/
sudo mv ./bin/info /usr/lib/cdaemontmp/info