diff options
| author | tuturuu <zedddiezxc@gmail.com> | 2026-01-12 12:43:47 +0100 |
|---|---|---|
| committer | tuturuu <zedddiezxc@gmail.com> | 2026-01-12 12:43:47 +0100 |
| commit | f891020ddf6b9c2137cc29c023dbdab4a4b46669 (patch) | |
| tree | d7ef92c0e025b160df59b3e577fabdac947a4af0 /init/src/services/unit_parser.rs | |
| parent | e61ae680f6bf29c8a36ff22c97dc85c1f4d7469f (diff) | |
create unitparser module, add notes on future implementation
Diffstat (limited to 'init/src/services/unit_parser.rs')
| -rw-r--r-- | init/src/services/unit_parser.rs | 15 |
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; + + |
