Commit graph

26 commits

Author SHA1 Message Date
Alessandro Ros
44918fce0d
when stopping hooks, stop all their subprocesses too (#3004) (#3087) 2024-02-29 22:42:11 +01:00
Dan Bason
e8b19b82d5
in hooks, allow replacing placeholders with environment (#3044) 2024-02-19 09:00:58 +01:00
Alessandro Ros
7437ee7a09
update golangci-lint (#2868) 2024-01-03 21:13:20 +01:00
James Bohnert
3ecd79f076
RunOn.. commands - Propagate errors in restart configurations (#2828)
* RunOnX commands - Propagate errors in restart configurations

* apply gofmt

---------

Co-authored-by: James Bohnert <jbohnert@haivision.com>
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2023-12-26 13:06:58 +01:00
Alessandro Ros
bedfa9651a
fix windows build (#2360) 2023-09-16 23:21:10 +02:00
Alessandro Ros
ed77560811
add runOnDisconnect, runOnNotReady, runOnUnread (#1464) (#2355) 2023-09-16 19:21:48 +02:00
Alessandro Ros
659f19f8bb
enable errcheck (#2201) 2023-08-13 16:38:23 +02:00
Alessandro Ros
128f2d3e20
print error that caused an external command to exit (#1869) 2023-05-27 19:28:07 +02:00
Alessandro Ros
a0b973963d
allow using special characters in external commands (#1652) (#1868)
on Windows, when using cmd.exe or a bat file as external command.
2023-05-27 18:20:06 +02:00
aler9
f1fb00b80f update golangci-lint 2022-09-17 21:19:45 +02:00
aler9
3a81728096 on Linux/macOS, launch external commands directly without using the shell 2022-01-25 14:55:50 +01:00
aler9
1617d07ba3 do not wait for external commands to exit during runtime
wait for them during shutdown.
2021-12-21 12:43:45 +01:00
aler9
84735426eb print a message when a custom command exits suddently 2021-12-08 21:23:45 +01:00
aler9
ebc201bda2 make regexp groups available to custom commands (#642) 2021-12-08 20:50:09 +01:00
aler9
76eb2c2c2b fix lint errors 2021-11-22 15:09:03 +01:00
aler9
5ea4fdb764 run gofumpt 2021-11-15 20:09:07 +01:00
aler9
0d15e2772a close custom commands with SIGINT again (#495) 2021-10-03 16:09:40 +02:00
aler9
d7f1c04711 close custom commands with SIGQUIT instead of SIGINT (#495) 2021-08-12 15:16:39 +02:00
aler9
ed375583d0 Implement an HTTP API to query and control the server 2021-08-07 19:20:39 +02:00
aler9
90e24b79cb cleanup 2021-08-01 16:58:46 +02:00
aler9
6e64b4be22 update gortsplib 2021-03-14 17:27:04 +01:00
aler9
4f7daacdda cleanup 2020-11-21 13:35:33 +01:00
aler9
7dc72f4490 fix compilation on windows 2020-11-11 10:56:18 +01:00
aler9
2c9e07376c fix execution of external commands with quotes on Windows (#113) 2020-11-08 23:12:43 +01:00
aler9
58fe1cfe77 add docs 2020-11-05 12:37:16 +01:00
aler9
5facab1a48 move subpackages into internal/ 2020-11-01 22:56:56 +01:00