52 Commits (master)

Author SHA1 Message Date
rascul 0fc873e965 fix up the restart stuff so it actually restarts when configured to and not when not configured to
2 years ago
rascul 5aec535c0e use default values instead of Option
2 years ago
rascul 16dc05992a use false as default instead of Option<bool>
2 years ago
rascul 3480e0a62f add restarting message
2 years ago
rascul 66c08899a6 change wording so clear that it's kill (SIGKILL)
2 years ago
rascul fc327e02bb fmt
2 years ago
rascul d689505311 pull the code itself
2 years ago
rascul 13120f099c rename field for serde so can use app in apps.toml because it makes more sense to call an app an app instead of an apps
2 years ago
rascul 43adda0990 log error for stderr
2 years ago
rascul fea7e96970 comments
2 years ago
rascul 26ec5d25e8 makes more sense for Apps.app to be called Apps.app
2 years ago
rascul 948c98f785 Apps.app doesn't need to be public
2 years ago
rascul 6fde2980e5 rustfmt
2 years ago
rascul 70cc873c53 add and fix up comments
2 years ago
rascul 4112b6d434 add use statements for 2021 edition
2 years ago
rascul 9e51c17ac2 space out the struct members with a newline
2 years ago
rascul 9739f2805d rustfmt
2 years ago
rascul 0bfe2eab5a prefix with _ because not used
2 years ago
rasul 4e02a8d9fc add some more coloring to log messages
5 years ago
rasul ec7cefd023 colon isn't needed in these messages
5 years ago
rasul fc36b7ec94 make log messages better
5 years ago
rasul 7e30fb5d3a args is now optional
5 years ago
rasul 07b0b212dd add a few comments
5 years ago
rasul 20e58abf60 add signal handling
5 years ago
rasul 4959c9cedd rustfmt
5 years ago
rasul ca349232c9 only care when readable
5 years ago
rasul 78254f7eb6 strip extra newline from data
5 years ago
rasul e36e9f0ef1 remove a debug thing
5 years ago
rasul e330660ccb switch to mio so we can not block
5 years ago
rasul f6ab14470b use fern for logging to stdout and to file
5 years ago
rasul dc2dfc4bbc _level wasn't necessary
5 years ago
rasul c38971fd78 config options for stdout and stderr logs
5 years ago
rasul 01f1a61f0d return procs instead of empty vec
5 years ago
rasul ce0c174b6a apps file is called apps.toml now
5 years ago
rasul 4e36fb32e6 get some command line options
5 years ago
rasul abd87d6eea remove identical conversion
5 years ago
rasul a8527f4843 error handling fixup also read config from user config directory
5 years ago
rasul 63e98f2c01 more error handling and message fixing up
5 years ago
rasul d8ed14373e handle errors better to include error messages
5 years ago
rasul 11c3237f44 remove forgotten call to startup()
5 years ago
rasul 2b31859e23 move shutdown stuff out of startup()
5 years ago
rasul 41a2abac3f separate app shutdown
5 years ago
rasul 98389a33ec implement logger
5 years ago
rasul d1f45584de rustfmt
5 years ago
rasul eb9f25e328 Self instead of Proc
5 years ago
rasul c8b84223e7 more code organization
5 years ago
rasul 5a8ab805f7 separate into a few files
5 years ago
rasul 47a7dfa7e9 break up run() a little bit to remove cognitive load
5 years ago
rasul a158607007 be more verbose when exiting
5 years ago
rasul a6fe8ff24c make holds an Option<i8>
5 years ago