update install script
This commit is contained in:
parent
53a3d9a778
commit
fcd25825ac
1 changed files with 3 additions and 4 deletions
|
@ -13,11 +13,10 @@ git clone https://git.aliberksandikci.com.tr/liderahenk/go-daemon
|
||||||
cd go-daemon/
|
cd go-daemon/
|
||||||
go build -o c-daemon/bin/ c-daemon/go-files/info.go
|
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
|
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
|
# Installing
|
||||||
# move to
|
# move to
|
||||||
cd c-daemon
|
cd c-daemon
|
||||||
sudo mv bin/test /usr/bin/cdaemontmp
|
sudo mv ./bin/test /usr/bin/cdaemontmp
|
||||||
sudo mv bin/info /usr/lib/cdaemontmp/info
|
sudo mkdir -p /usr/lib/cdaemontmp/
|
||||||
|
sudo mv ./bin/info /usr/lib/cdaemontmp/info
|
Loading…
Reference in a new issue