diff --git a/agent/agent-thenewjoplin.nim b/agent/agent-thenewjoplin.nim new file mode 100644 index 0000000..e69de29 diff --git a/agent/service-thenewjoplin.nim b/agent/service-thenewjoplin.nim new file mode 100644 index 0000000..f6c8b51 --- /dev/null +++ b/agent/service-thenewjoplin.nim @@ -0,0 +1,15 @@ +# --==--==--==--==--==--==--==--==--==--==--==--==--==--==-- # +# IMPORTS +# --==--==--==--==--==--==--==--==--==--==--==--==--==--==-- # +import std/locks +import std/os +import strutils +import std/logging + +# --==--==--==--==--==--==--==--==--==--==--==--==--==--==-- # +# section : création du répertoire log +# --==--==--==--==--==--==--==--==--==--==--==--==--==--==-- # +let dir = "./log" +if not dirExists(dir): + createDir(dir) + diff --git a/nim-lib b/nim-lib new file mode 160000 index 0000000..6ad56e1 --- /dev/null +++ b/nim-lib @@ -0,0 +1 @@ +Subproject commit 6ad56e141aa49e01fffc49236dc93868c6c770a9