Commit graph

31 commits

Author SHA1 Message Date
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 d7884b4ecd
Add start limit of 3/150s 2020-12-02 11:27:46 +01:00
Benedikt Ziemons 4f4c03ee4f
Add reloading pod (directly) 2020-12-02 11:26:57 +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 b38d18fcb6
Modify notify access and service killing 2020-11-18 23:43:51 +01:00
Benedikt Ziemons a94451639a
Allow podlaunching for testing 2020-11-18 23:41:41 +01:00
Benedikt Ziemons 2834f416c0
Tell status to systemd-notify 2020-11-18 23:41:14 +01:00
Benedikt Ziemons 9d0c9b94c2
Add requirements.txt 2020-11-15 00:11:01 +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 260f8c1e0c
Add notify access and lower restart cooldown 2020-11-14 23:57:34 +01:00
Benedikt Ziemons 4eb083e0bb
Make podlaunch exec into the python script 2020-11-14 23:45:12 +01:00
Benedikt Ziemons 78cb7e90cd
Change service to notify and restart on success 2020-11-14 23:38:58 +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
Ben 277f16d1f1
Create README.md 2020-11-14 18:51:33 +01:00
Benedikt Ziemons 7eac724a3a
Initial commit 2020-11-14 18:50:04 +01:00