Thursday last

This commit is contained in:
Aliberk Sandıkçı 2023-07-27 13:54:15 +03:00
parent 5cb484de72
commit 20263fc8eb
Signed by: asandikci
GPG Key ID: 25C67A03B5666BC1
3 changed files with 7 additions and 6 deletions

View File

@ -10,8 +10,6 @@ This repo will be include two separate daemons. One of them is written with C la
<br>
### 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)
<!-- How to **build** c-daemon + go processes:
```bash
git clone https://git.aliberksandikci.com.tr/liderahenk/go-daemon
cd go-daemon/
@ -32,7 +33,7 @@ How to **start** c-daemon + go processes:
```bash
cd c-daemon/bin/
./test
```
``` -->
<br>

View File

@ -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)
}

View File

@ -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
sudo rm -rf $temp_dir