summaryrefslogtreecommitdiff
path: root/init/src/services/unit_parser.rs
blob: a9898c1000ee66e7a5c9cf396b850160b330f184 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;