Commit Graph

163 Commits

Author SHA1 Message Date
fbt 142af28f67 prettier
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-30 11:57:30 +00:00
fbt 932b5d7ed3 According to the bash manual, these should be available always, even if the os does not supply them
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-30 11:56:08 +00:00
fbt e2702736b8 keep it simple
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-30 11:42:13 +00:00
fbt 0bf7085d78 readme
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-30 11:38:29 +00:00
fbt e03650b77b flags!
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-30 00:20:05 +00:00
fbt e6c016db93 Nevermind, I remember now why this was all one function
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-30 00:12:19 +00:00
fbt 4a3b255932 Dirty fix, need to properly deal with output in this script
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-30 00:00:04 +00:00
fbt da836ace94 Don't remove the ready flag for oneshots
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 22:25:06 +00:00
fbt 6126cd7859 bad choice for a var name
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 20:46:18 +00:00
fbt afac639c2d Merge branch 'master' of ssh://code.fleshless.org:2290/Spark/ssm 2026-11-29 19:47:39 +00:00
fbt a9eef09b7a wrong :)
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 19:47:17 +00:00
fbt 46ff54cfde wrong :)
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 19:40:35 +00:00
fbt 7c38721d2e More reliable handling; however, we still get 143 in the exit file if the job was interrupted
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 19:38:30 +00:00
fbt 6f69169ed9 Revert "This is kinda useless"
This reverts commit 3aaa8f61e4.
2026-11-29 18:36:21 +00:00
fbt 3aaa8f61e4 This is kinda useless
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 18:35:15 +00:00
fbt 4a534f6a9f move the recording of the exit outside of the cleanup, it does not actually run between respawns lmao
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 18:17:23 +00:00
fbt 2c1e22dc12 mention that this does not break bash scoping
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 16:38:00 +00:00
fbt 020f321818 ugh
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 16:19:18 +00:00
fbt 5ae5a4920b readme + respawn delay
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 16:05:16 +00:00
fbt b49f4d345e lul
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 15:29:16 +00:00
fbt b37a454ad6 hhmmmm
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 15:26:47 +00:00
fbt 8156170f60 mention a limit
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 15:09:32 +00:00
fbt d969f62e96 mention a limit
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 15:07:40 +00:00
fbt 178865d0f0 we already have that code lmao
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 14:44:41 +00:00
fbt 3e9970761c Ooops once again
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 14:02:27 +00:00
fbt eb591543af oops, $2 cannot be empty in this case lmao
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 13:38:17 +00:00
fbt ce582dd51f a more robust ready check
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 13:34:28 +00:00
fbt c7264a737e Make the thing back off if it restarts too fast even if it doesn't fail
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 13:20:19 +00:00
fbt 9c6eea99bf Should be much simpler
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 12:54:28 +00:00
fbt 93376dbd02 I do not like this a solution tbh
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 12:51:14 +00:00
fbt 55cd5ff202 oh that is why it was at the end
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 12:21:47 +00:00
fbt c7db342dbc reap lmao
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 12:13:03 +00:00
fbt 76991e6c91 fair enough
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 12:09:03 +00:00
fbt 3fce693bf6 there
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 10:57:30 +00:00
fbt 89a2e868e3 oops
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 10:54:30 +00:00
fbt ed16905e7d readme
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 10:27:48 +00:00
fbt 11d7d92326 fail if the setup function fucks up
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 10:03:25 +00:00
fbt 77358b2955 Running the trap twice is safe but completely redundant
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 09:56:41 +00:00
fbt cd87cb46cd This seems to work fine
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 09:43:29 +00:00
fbt d07c8473f5 some robustness checks
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-29 09:18:01 +00:00
fbt a76ad79f47 oops
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-28 16:25:07 +00:00
fbt 876d3f8b7d Minor spelling mistake D:
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-28 11:10:46 +00:00
fbt 610c360f96 regex
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-27 17:50:54 +00:00
fbt 51cfa707b7 kek
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-27 17:03:31 +00:00
fbt 4f561a76cc not critical but eh
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-27 16:59:50 +00:00
fbt c98f888cb6 this is a bit more convenient
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-27 16:52:50 +00:00
fbt eb6c46e330 better ssm.conf example too
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-27 16:30:27 +00:00
fbt f74df5962e Better examples
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-27 16:14:30 +00:00
fbt fd658f7545 Actually document this properly
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-27 15:12:10 +00:00
fbt b044170bd6 Damn hallucinations :)
Signed-off-by: fbt <fbt@fleshless.org>
2026-11-27 15:07:31 +00:00