summaryrefslogtreecommitdiff
path: root/init/src/services/unit_parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'init/src/services/unit_parser.rs')
-rw-r--r--init/src/services/unit_parser.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/init/src/services/unit_parser.rs b/init/src/services/unit_parser.rs
new file mode 100644
index 0000000..a9898c1
--- /dev/null
+++ b/init/src/services/unit_parser.rs
@@ -0,0 +1,15 @@
+// This module defines unit settings parsing logig
+//
+// NOTE: ON UNIT PARSING LOGIC
+// when parsing a unit in /etc/vigil/units/ we shoul ignore
+// ANY broken/bad constructed toml unit configuration file
+// without "crashing" logic.
+//
+// NOTE: ON GENERAL SERVICE LOGGING
+// when vigil starts service, it should send out logs to vigil?
+// or logs in such init systems are just taking the stdout+stderr
+// of service and showing its output? idk 4 now, look into how its supposed to be
+
+use toml::display;
+
+