Commit graph

98 commits

Author SHA1 Message Date
ea240dffc1 slightly dirty tric to pass the test 2020-08-14 18:53:21 +02:00
6173ba060e some diagnosis
Still todo: real integration tests
2020-08-14 18:46:23 +02:00
c1a212ad7a add default case 2020-08-14 18:18:46 +02:00
ecce9b573b use homebrew process monitoring instead of systemd 2020-08-14 18:00:53 +02:00
f0bc616919 remove stray test process 2020-08-14 18:00:33 +02:00
d939d3473c fix some subtle issues 2020-08-14 15:10:55 +02:00
61f63a062d use nix 2020-08-13 21:18:03 +02:00
349472a972 introduce own process management 2020-08-13 21:17:51 +02:00
4bd265a246 add simple error diagnose 2020-08-10 18:54:56 +02:00
4da9c88ff7 create process dir in travis 2020-08-08 19:04:09 +02:00
e5201c5a6d create processdb dir 2020-08-08 18:42:31 +02:00
9d51a40d30 throw exceptions instead of returning false 2020-08-08 18:36:54 +02:00
aad0b0c214 testing serialization 2020-08-08 18:26:22 +02:00
9cc0717601 implement serialization 2020-08-08 16:39:19 +02:00
Valentin Boettcher
652b0d38be implement process replacement 2020-08-03 18:37:53 +02:00
Valentin Boettcher
105f8c1f80 add restart logic and slimline 2020-08-03 18:00:38 +02:00
Valentin Boettcher
432223bced make test more deterministic 2020-08-03 17:33:49 +02:00
Valentin Boettcher
47108567e7 minor formatting 2020-08-03 17:31:30 +02:00
Valentin Boettcher
b52a412b7d remove cumbersome with-process 2020-08-03 17:11:07 +02:00
Valentin Boettcher
053f982a9d use the promise returned by the start command 2020-08-03 16:42:45 +02:00
Valentin Boettcher
6d152d6795 fix restart test 2020-08-02 18:21:35 +02:00
Valentin Boettcher
2494c546b1 correct syntax error 2020-08-02 18:14:50 +02:00
Valentin Boettcher
b88261e580 accept failed as inactive 2020-08-02 18:09:45 +02:00
Valentin Boettcher
040d6e8106 transition systemd commands to --no-block 2020-08-02 18:05:29 +02:00
Valentin Boettcher
9c1d9d17bd use quiet output and jobmode=replace 2020-08-02 15:03:36 +02:00
Valentin Boettcher
2bad331bb8 don't block 2020-08-02 14:48:40 +02:00
Valentin Boettcher
79212b3879 support matcher functions 2020-08-02 14:27:15 +02:00
Valentin Boettcher
f1ac496266 remove surplus debug statement 2020-08-02 13:49:33 +02:00
Valentin Boettcher
4d23754a93 add more events and ignore unknowns 2020-08-02 13:47:08 +02:00
Valentin Boettcher
e6306cf815 tweak restart policy 2020-08-02 13:46:45 +02:00
Valentin Boettcher
7cb54ccab7 add arch pkgbuild 2020-08-02 13:30:37 +02:00
Valentin Boettcher
017db9ce0e add restart logic to the unit 2020-08-02 13:29:37 +02:00
Valentin Boettcher
a2227b356f set version properly 2020-08-02 12:17:36 +02:00
Valentin Boettcher
4d150146fb install ffmpeg 2020-08-02 11:48:36 +02:00
Valentin Boettcher
278d3b201e remove excessive timeouts 2020-08-02 11:39:48 +02:00
Valentin Boettcher
7724e0c100 fix test script so that it doesn't exit 2020-08-02 11:30:27 +02:00
Valentin Boettcher
a4ba9f3509 make process creation an info 2020-08-01 19:22:36 +02:00
Valentin Boettcher
743601de99 covering my tracks 2020-08-01 19:21:35 +02:00
Valentin Boettcher
5fcb60eea0 remove stray printlns 2020-07-31 19:13:51 +02:00
Valentin Boettcher
6394489279 fix use of create-monitor! in tests 2020-07-31 19:12:48 +02:00
Valentin Boettcher
86089dcc18 fix with-process and delete-process! 2020-07-31 19:09:54 +02:00
Valentin Boettcher
ac893df07e beef up the api to allow for process supervision 2020-07-31 18:52:25 +02:00
Valentin Boettcher
b0f7c46835 use put in the systemd interface 2020-07-31 18:52:14 +02:00
Valentin Boettcher
1f58eac009 allow an additional query string for the exectuable in the journal 2020-07-31 18:50:53 +02:00
Valentin Boettcher
cae7c1b711 make logs normal color 2020-07-31 18:50:03 +02:00
Valentin Boettcher
5a5984a9be test journal 2020-07-27 21:35:55 +02:00
Valentin Boettcher
28414d19ba add simple wrapper for the systemd journal 2020-07-27 21:35:39 +02:00
Valentin Boettcher
a588a51d99 disable escaping in template 2020-07-27 21:35:15 +02:00
Valentin Boettcher
863c9cfeac add json parser 2020-07-27 21:35:02 +02:00
Valentin Boettcher
14f6968431 disable dbus logging 2020-07-27 21:34:48 +02:00