Thursday last
This commit is contained in:
parent
5cb484de72
commit
20263fc8eb
3 changed files with 7 additions and 6 deletions
|
@ -10,8 +10,6 @@ This repo will be include two separate daemons. One of them is written with C la
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
### C-Daemon
|
### C-Daemon
|
||||||
look c-daemon/tmp-install.sh for installing as daemon! (temporary)
|
|
||||||
|
|
||||||
Dependencies `git, go, gcc`
|
Dependencies `git, go, gcc`
|
||||||
|
|
||||||
Debian/Pardus
|
Debian/Pardus
|
||||||
|
@ -19,7 +17,10 @@ Debian/Pardus
|
||||||
sudo apt install git golang-go gcc
|
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
|
```bash
|
||||||
git clone https://git.aliberksandikci.com.tr/liderahenk/go-daemon
|
git clone https://git.aliberksandikci.com.tr/liderahenk/go-daemon
|
||||||
cd go-daemon/
|
cd go-daemon/
|
||||||
|
@ -32,7 +33,7 @@ How to **start** c-daemon + go processes:
|
||||||
```bash
|
```bash
|
||||||
cd c-daemon/bin/
|
cd c-daemon/bin/
|
||||||
./test
|
./test
|
||||||
```
|
``` -->
|
||||||
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
|
@ -32,7 +32,7 @@ func main() {
|
||||||
// TODO Will be replaced with a Go Config Library
|
// TODO Will be replaced with a Go Config Library
|
||||||
|
|
||||||
if flag, err := checkExists(configDir); flag {
|
if flag, err := checkExists(configDir); flag {
|
||||||
log.Println("Config dir already exists")
|
// log.Println("Config dir already exists")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,4 +25,4 @@ sudo mv ./bin/info /usr/lib/cdaemontmp/info
|
||||||
sudo mv ./cdaemontmp.service /etc/systemd/system/
|
sudo mv ./cdaemontmp.service /etc/systemd/system/
|
||||||
|
|
||||||
# Post-Cleaning
|
# Post-Cleaning
|
||||||
# sudo rm -rf temp_dir
|
sudo rm -rf $temp_dir
|
Loading…
Reference in a new issue