From e0d656f349d4efef82389fa567e79c06e8ec90ec Mon Sep 17 00:00:00 2001 From: bruno Date: Wed, 9 Nov 2022 13:40:38 -0500 Subject: [PATCH] push --- agent/agent-thenewjoplin.nim | 0 agent/service-thenewjoplin.nim | 15 +++++++++++++++ nim-lib | 1 + 3 files changed, 16 insertions(+) create mode 100644 agent/agent-thenewjoplin.nim create mode 100644 agent/service-thenewjoplin.nim create mode 160000 nim-lib 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