52 Commits

Author SHA1 Message Date
Alexis
3d16b27738 fix: not logging exception 2021-09-15 14:58:17 +09:30
Alexis
e5de6de30d fix: log on CTRL+C exit 2021-09-15 09:46:02 +09:30
Alexis
5ccb049787 fix: not logging anything on unraid-api start 2021-09-14 14:05:35 +09:30
Alexis
69e7645825 fix: ensure parent process doesn't inherit child's stdio 2021-09-14 07:11:50 +09:30
Alexis
44457727e9 fix: add space between logger and flag 2021-09-13 14:23:58 +09:30
Alexis
4f889c08fe chore: switch to execa for logger output 2021-09-13 14:16:53 +09:30
Alexis
0ada10ab3d fix: missing fn name 2021-09-13 13:55:51 +09:30
Alexis
35b5356e3b fix: use logger tags 2021-09-13 13:31:48 +09:30
Alexis
11db1b5fc4 chore: change text of exit messages 2021-09-13 13:29:55 +09:30
Alexis
b832214222 fix: use logger for syslog messages 2021-09-13 13:23:26 +09:30
Alexis
33a8189a15 fix: hook process.exit in child BEFORE loading index 2021-09-13 12:44:34 +09:30
Alexis
6531d6d59e fix: use exitCode to allow streams to drain on exit 2021-09-10 17:22:23 +09:30
Alexis
7ac1684f19 fix: switch to lib for exit 2021-09-10 17:05:58 +09:30
Alexis
c66f93bda2 fix: move process.exit to child 2021-09-10 16:43:21 +09:30
Alexis
52c51ecd2a fix: logging on good exit 2021-09-10 16:29:08 +09:30
Alexis
fe4d879827 fix: move logging to child.on? 2021-09-10 15:52:13 +09:30
Alexis
010efe75bd Revert "chore: lint all the files"
This reverts commit 4ef387b5bb.
2021-09-07 13:46:23 +09:30
Alexis
4ef387b5bb chore: lint all the files 2021-09-02 17:30:33 +09:30
Alexis
e0c13cc4c1 fix: use native cp to handle switch-env 2021-08-30 13:41:57 +09:30
Alexis Tyler
7e1194ef46 chore: better cli logging 2021-08-25 08:23:15 +09:30
Alexis Tyler
d57bd19947 chore: better cli logging 2021-08-25 08:21:21 +09:30
Alexis Tyler
a19b5a9c43 fix: ensure dotenv is read before getting environment 2021-07-05 17:10:12 +09:30
Alexis Tyler
32938d747d fix: ensure switch-env writes the newEnv not staging 2021-07-05 14:29:31 +09:30
Alexis Tyler
eb5e0afb7d fix: use debug log level if debug flag used 2021-06-01 22:31:52 +09:30
Alexis Tyler
19b26d7843 fix: write correct file on switch 2021-06-01 17:57:01 +09:30
Alexis Tyler
ff6bf141db fix: add logging to switch-env 2021-06-01 16:46:15 +09:30
Alexis Tyler
4c72ffac19 fix: dynamically get the current environment 2021-06-01 13:59:01 +09:30
Alexis Tyler
e37eac662c fix: use env from user before flag 2021-05-28 08:36:43 +09:30
Alexis Tyler
e9bebbbaa7 fix: ensure correct env is shown if it's changed within app 2021-05-28 08:34:26 +09:30
Alexis Tyler
1495ffddd3 fix: switch to dedent-tabs 2021-05-27 13:12:27 +09:30
Alexis Tyler
335dabaea0 fix: switch-env 2021-05-27 12:18:40 +09:30
Alexis Tyler
58a381316e fix: wrong env and dedent 2021-05-25 09:08:39 +09:30
Alexis Tyler
9555e8bf96 chore: fix dedenting 2021-05-20 08:36:45 +09:30
Alexis Tyler
a87bd9255f fix: include quotes around env name 2021-05-18 14:14:08 +09:30
Alexis Tyler
63ca1816eb fix: use paths helper instead of raw path 2021-05-13 13:47:43 +09:30
Alexis Tyler
4306145123 fix: prevent cli pulling in all of app 2021-05-13 13:29:16 +09:30
Alexis Tyler
69432bd3d9 refactor: change my-servers and unraid-api base paths 2021-05-13 13:08:43 +09:30
Alexis Tyler
9ec53ed433 fix: switch-env not detecting env 2021-04-21 19:14:57 +09:30
Alexis Tyler
3218ceaa75 feat: add switch-env to cli 2021-04-19 14:10:04 +09:30
Alexis Tyler
d50f19344c fix: use SIGTERM for stopping gracefully 2021-03-29 08:01:54 -07:00
Alexis Tyler
53f135a00e fix: getting incorrect pid for process 2021-03-20 01:33:24 +10:30
Alexis Tyler
4429855a6c fix: ensure we're stictly checking the process name 2021-03-12 11:57:08 +10:30
Alexis Tyler
0ce833bf00 fix: Make sure the process changes to the cwd 2021-03-08 16:51:10 +10:30
Alexis Tyler
391bd24502 fix: use correct cwd 2021-03-08 16:31:37 +10:30
Alexis Tyler
5ccd55a04b fix: ensure cwd is always in the VFS when we daemonize 2021-03-08 16:17:30 +10:30
Alexis Tyler
b7867f66dc fix: move daemonization to process 2021-03-08 15:59:12 +10:30
Alexis Tyler
70d006bb17 fix: throwing error when no processes were found 2021-03-05 17:23:19 +10:30
Alexis Tyler
8c24bcd4d6 fix: cli using wrong path again 2021-03-05 17:18:45 +10:30
Alexis Tyler
66b5f3383d fix: cli loading wrong path for index 2021-03-05 17:18:26 +10:30
Alexis Tyler
a812192027 chore: remove unneeded comment 2021-03-05 15:17:14 +10:30