Commit Graph

70 Commits

Author SHA1 Message Date
Nocturn9x 142f8ad460
Minor changes to service management 2023-03-29 11:41:15 +02:00
Nocturn9x 7b7b675fef Minor changes and additions 2022-10-18 09:33:12 +02:00
Nocturn9x 6283c82391 BLM ^ 2 2022-03-16 14:37:15 +01:00
Nocturn9x ea1f3cc6f9 Merge branch 'main' of https://github.com/nocturn9x/nimd 2022-03-16 14:36:21 +01:00
Nocturn9x 4d01a31796 BLM 2022-03-16 14:36:16 +01:00
Mattia Giambirtone 38698ec72a Minor changes to error handling in main loop + changes to boot script and config 2022-03-13 13:04:40 +01:00
Mattia Giambirtone 5f965826ea Shell has stderr working now 2022-03-13 12:46:39 +01:00
Mattia Giambirtone 99fd4171ed NimD now checks if another instance is running before starting up 2022-03-12 17:22:40 +01:00
Mattia Giambirtone e34e48f87c Updated README with note to scripts folder for testing 2022-03-12 15:55:50 +01:00
Mattia Giambirtone df1371c13f Added build and startup scripts 2022-03-12 15:54:20 +01:00
Mattia Giambirtone d240d05cef Minor changes to nimDExit and shutdown.nim 2022-03-12 15:51:31 +01:00
Nocturn9x c0a3c18140 Minor changes 2022-03-01 12:31:32 +01:00
Nocturn9x a0a49874bb Minor changes to docstrings 2022-01-31 15:06:43 +01:00
Nocturn9x 5e4aed7e0f Added comment about new reload operation in mainloop 2022-01-31 14:58:29 +01:00
Nocturn9x 84720c1f4c Added config reloading functionality and related subprogram 2022-01-31 14:56:12 +01:00
Nocturn9x 93b73de32a Solved merge conflict 2022-01-14 08:31:56 +01:00
Nocturn9x 611f97d1e6 Added working directory and streams options to services 2022-01-14 08:30:18 +01:00
nocturn9x c25867245c NimD now calls sync() before shutting down 2022-01-09 23:00:17 +01:00
nocturn9x 76f2df1969 Fixed config parsing module (sorta) and added example config file 2022-01-09 22:46:58 +01:00
nocturn9x d41e67f413 Fixed issues with fcntl and replaced file locking with a duplicate of stderr in O_APPEND mode. Added basic utilities for shutdown/reboot/halt 2022-01-04 12:00:18 +01:00
nocturn9x a93c3c6fd0 Failed attempts to fix missing stderr from supervised processes 2021-12-27 18:21:07 +01:00
nocturn9x b68b6f5e74 Failed attempts to fix missing stderr from supervised processes 2021-12-27 15:08:57 +01:00
nocturn9x d6c46b3543 Minor changes to mainloop.nim 2021-12-27 11:18:42 +01:00
nocturn9x 2f107f7f28 Added VERY experimental (untested) networking code 2021-12-27 11:17:24 +01:00
Nocturn9x fea5e625e2 Added log redirection and cgroups support via setsid() 2021-12-16 11:24:00 +01:00
Nocturn9x 9289c455e3 The shell is now spawned as a boot service 2021-12-09 17:30:30 +01:00
Nocturn9x fd35755da5 Hopefully fixed dependency resolution. Added file locking on logs. Improved README, fixed some minor issues 2021-12-09 17:09:00 +01:00
Nocturn9x 342fd15ffb Added more entries to .gitignore 2021-12-08 11:11:05 +01:00
nocturn9x b12cf0f5aa Improved README. Initial (broken!) work on dependency resolution 2021-12-06 20:46:14 +01:00
nocturn9x f2b23afe1b Added more entries to gitignore 2021-12-06 13:47:42 +01:00
nocturn9x 9b49b57d4c Removed unneeded vm file 2021-12-06 13:47:30 +01:00
nocturn9x 92850e8d70 Aligned log messages, minor general fixes, unified virtual and real filesystems and started to work on the API for parsing NimD's config (also added empty networking module) 2021-12-06 13:47:11 +01:00
nocturn9x 2ba8cfa5be Added more entries to gitignore 2021-12-06 13:46:14 +01:00
nocturn9x ff2701b05f Many changes after first VM tests. Added more entries to gitignore 2021-12-05 22:08:36 +01:00
nocturn9x 4692f0328b Added more entries to gitignore 2021-12-05 20:55:29 +01:00
nocturn9x 3f3403170f Added more entries to gitignore 2021-12-05 20:53:44 +01:00
nocturn9x 539035f3a5 Added more entries to gitignore 2021-12-05 20:12:46 +01:00
nocturn9x a9cb133b71 Removed now unneeded docker config 2021-12-05 20:10:39 +01:00
nocturn9x c97c6678c2 Removed duplicate code 2021-12-05 11:55:26 +01:00
nocturn9x 63ab7c61e4 More work to fix multiprocessing issues 2021-12-04 18:12:22 +01:00
Mattia cad0908ccd
Merge pull request #1 from n00neheregit/patch-1
FIX TYPO
2021-12-04 17:37:54 +01:00
n00nehere e0bad78bd8
FIX TYPO
FIX TYPO.
2021-12-04 17:34:05 +01:00
nocturn9x 41a54288e3 Fixed most bugs with spawning services (last: block signals) 2021-12-04 17:31:18 +01:00
nocturn9x 8517cdb736 Added config.nims for musl 2021-12-04 14:06:43 +01:00
nocturn9x 2293d192f1 Updated gitignore 2021-12-04 13:53:23 +01:00
Nocturn9x 5777e1a715 Major code cleanup. Added initial (VERY broken) support for services 2021-12-04 13:47:06 +01:00
Nocturn9x bd7d4e1974 Added sync() system call for testing purposes. Added SIGSTP signal handler. Removed CtrlCException. Added dummy SIGCHLD handler for future process reaping. NimD now creates some symlinks at startup so Linux ports of BSD software don't crash. Moved exists procedure to misc module. UnmountAllDisks now unmounts the source instead of the target. Other minor fixes and typos 2021-12-02 23:16:16 +01:00
Nocturn9x 6ef157baa0 Minor fixes + removed redundant SIGINT hook 2021-12-02 21:28:58 +01:00
Nocturn9x b01da7eada Slightly changed CRITICAL's error message format 2021-12-02 19:03:10 +01:00
Nocturn9x 5c2515c3a7 Uncommented call to umount2() 2021-12-02 18:55:33 +01:00