Commit graph

26 commits

Author SHA1 Message Date
Ben 2c41d962db
Use stdout and stderr for all commands 2021-09-15 23:06:15 +02:00
Ben 8c1f3cb62e
Add log-level option 2021-09-15 22:35:30 +02:00
Ben 9748f9bac9
Set logging driver default, fix help 2021-06-15 10:26:11 +02:00
Ben befc63304a
Add log-driver option 2021-06-15 10:23:20 +02:00
Ben c857eed10b
Subtract 10s from last check time when fetching logs 2020-12-30 20:49:45 +01:00
Ben e319368805
Convert bool options to bool flags 2020-12-30 20:41:52 +01:00
Ben 6bf57bf761
Add --remove option to disable removal after stop 2020-12-30 20:15:02 +01:00
Benedikt Ziemons 11bca0af53
Rename stop-previous to replace 2020-12-02 11:31:47 +01:00
Benedikt Ziemons eeb63488b5
Remove previously existing pod when replacing it 2020-12-02 11:17:33 +01:00
Benedikt Ziemons 00bcefccca
Allow sending USR signals to pod 2020-12-02 11:15:56 +01:00
Benedikt Ziemons 7d461546aa
Add 1 as valid exit code for pod exists check 2020-11-19 00:54:21 +01:00
Benedikt Ziemons 5338563299
Add option stopping previous pods, defaults to yes 2020-11-19 00:45:50 +01:00
Benedikt Ziemons 6bea5f72e0
Remove quotation marks 2020-11-19 00:38:10 +01:00
Benedikt Ziemons 2834f416c0
Tell status to systemd-notify 2020-11-18 23:41:14 +01:00
Benedikt Ziemons 20f289dd4b
Refactor pod control methods 2020-11-15 00:09:45 +01:00
Benedikt Ziemons 8e35b24857
Remove spammy check debug print 2020-11-14 23:58:04 +01:00
Benedikt Ziemons 5dbffd0eba
Remove catching SIGCHLD 2020-11-14 23:36:53 +01:00
Benedikt Ziemons fafa2dc47d
Use inspect command's stdout for json.loads 2020-11-14 23:35:22 +01:00
Benedikt Ziemons 3715eae575
Use SIGCHLD to check and not to destroy 2020-11-14 23:32:11 +01:00
Benedikt Ziemons a9b55774ae
Add signum to signal debug print 2020-11-14 23:29:08 +01:00
Benedikt Ziemons 7501215211
Add signal debug print 2020-11-14 23:27:52 +01:00
Benedikt Ziemons b7e5cf97c2
Fix checking and set stopping event directly 2020-11-14 23:26:38 +01:00
Benedikt Ziemons 954b3d9b50
Only use systemd notify when NOTIFY_SOCKET is set 2020-11-14 23:21:41 +01:00
Benedikt Ziemons cd06cc445e
Always stop pod 2020-11-14 18:59:47 +01:00
Benedikt Ziemons fd60cef69b
Fix signal handlers arguments 2020-11-14 18:58:07 +01:00
Benedikt Ziemons 7eac724a3a
Initial commit 2020-11-14 18:50:04 +01:00