From 20263fc8eb4f11f642f33587f86b6ded66512214 Mon Sep 17 00:00:00 2001 From: asandikci Date: Thu, 27 Jul 2023 13:54:15 +0300 Subject: [PATCH] Thursday last --- README.md | 9 +++++---- c-daemon/go-files/info.go | 2 +- c-daemon/tmp-install.sh | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index bec322f..acf2fa1 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,6 @@ This repo will be include two separate daemons. One of them is written with C la
### C-Daemon -look c-daemon/tmp-install.sh for installing as daemon! (temporary) - Dependencies `git, go, gcc` Debian/Pardus @@ -19,7 +17,10 @@ Debian/Pardus sudo apt install git golang-go gcc ``` -How to **build** c-daemon + go processes: +Build / Install with: +look [tmp-install.sh](c-daemon/tmp-install.sh) for installing as daemon! (temporary) + +
diff --git a/c-daemon/go-files/info.go b/c-daemon/go-files/info.go index 22c98d0..ee55f52 100644 --- a/c-daemon/go-files/info.go +++ b/c-daemon/go-files/info.go @@ -32,7 +32,7 @@ func main() { // TODO Will be replaced with a Go Config Library if flag, err := checkExists(configDir); flag { - log.Println("Config dir already exists") + // log.Println("Config dir already exists") if err != nil { log.Fatal(err) } diff --git a/c-daemon/tmp-install.sh b/c-daemon/tmp-install.sh index a1cce3e..16cc5ea 100755 --- a/c-daemon/tmp-install.sh +++ b/c-daemon/tmp-install.sh @@ -25,4 +25,4 @@ sudo mv ./bin/info /usr/lib/cdaemontmp/info sudo mv ./cdaemontmp.service /etc/systemd/system/ # Post-Cleaning -# sudo rm -rf temp_dir \ No newline at end of file +sudo rm -rf $temp_dir \ No newline at end of file