350c4affe5
Handle SIGCHLD in main loop
...
Otherwise, we call printf() etc. in the signal handler...
2024-07-07 23:50:41 +02:00
88063430ce
update copyright
2024-07-07 22:20:55 +02:00
Lester Hightower
bf920a533d
Fixed waitpid handling
2024-07-02 10:14:50 -04:00
Lester Hightower
5236c8d947
Reap N-number of children per SIGCHLD
2024-07-02 09:33:43 -04:00
250e2ae24f
README.md: Update Ubuntu/Debian apt instructions
2022-07-06 20:17:30 +02:00
Eric Curtin
0a32cc92e8
Update README.md with new inotify-tools link
2020-12-06 16:40:41 +00:00
75b7db7d36
reformat with clangformat - no functional change
2020-11-15 20:38:15 +01:00
cf14367aa8
Update README: Fix misplaced comment
2020-09-09 16:50:30 +02:00
9925f12675
examples/move_downloads.sh: Ignore size 0 files
2020-08-21 11:07:31 +02:00
19e34c1904
Remove TODO file. It's replaced by the issue tracker.
...
Issue tracker: https://gitea.quitesimple.org/crtxcr/adhocify/issues/
2020-08-21 10:18:24 +02:00
b8943c0c79
Update README.md to reflect recent changes
2020-08-20 23:00:01 +02:00
1202296495
Add placeholder %eventmaskstr% for command args containing event string
...
This helps scripts to determine which events occured on the file
without having to parse the environment variable ADHOCIFYEVENT.
Add placeholder %eventfilepath% as an alternative for {}
2020-08-20 22:49:38 +02:00
d62d2956cd
updated copyright...
2020-08-20 13:41:42 +02:00
da1f55e340
messages: replace "child" with "command" for clarity
2020-08-20 13:33:33 +02:00
875c176cc1
exit adhocify if command is not found irrespective of -e
2020-08-20 13:20:20 +02:00
2e77170115
Replace execv with execvp as it has the more natural behaviour
2020-08-20 11:58:18 +02:00
200b6f6c33
README.md: Add Alpine install instructions
2020-08-20 10:56:28 +02:00
bcc561d578
Examples: Add download mover
2020-08-20 10:46:12 +02:00
898e114eef
Fixed error message for unsupported events
2020-08-20 00:20:52 +02:00
1287532f48
Makefile: add install target
2020-08-19 12:16:38 +02:00
1bf61c0ded
README.md: Add install options
2020-08-19 11:48:26 +02:00
ccf59e41df
README: mention ADHOCIFYEVENT, minor improvements
2020-08-15 23:48:08 +02:00
b7a27fbff3
capitalize event env var: adhocifyevent => ADHOCFIYEVENT
2020-08-15 23:31:41 +02:00
0d0d42cb31
Allow specifying negated exit status codes for --exit-with-child
2020-08-15 23:19:14 +02:00
519afe63d1
xrealpath: give more user-friendly error messages
2020-08-15 22:33:35 +02:00
8b6291b6ca
Makefile: add install target
2020-08-07 23:16:44 +02:00
0e75740630
make daemonizing the last step in command processing
2020-08-07 23:15:40 +02:00
6b1356b65b
improve help text
2020-08-07 23:12:07 +02:00
8e2d28ef95
Updated README.md with minor improvements, mostly formating
2020-04-13 23:30:16 +02:00
3203642618
README: added --exit-with-child example
2019-04-27 23:03:51 +02:00
27fdabc591
fixed --exit-with-child
2019-04-27 23:00:12 +02:00
fe7f6a0cc0
README: reference inotify-tools
2019-04-27 22:44:50 +02:00
4d7bde2773
remove clang warning: better check for whether name field is empty
2017-08-12 16:10:47 +02:00
c2b788ad50
updated README.md
2017-07-30 10:45:10 +02:00
37f30005dd
Remove README
2017-07-30 10:28:58 +02:00
d3186305d2
update TODO
2017-07-30 10:28:50 +02:00
7f55924649
remove obsolete unused counter
2017-07-28 09:01:53 +02:00
b9a638d43f
get_eventfile_abspath(): minor improvement: get rid of strcpy etc.
2017-07-28 08:55:53 +02:00
bd9bcd8752
Remove -r: It's existence cannot be justified
...
We already have -s to read from stdin, there is no point to
walk paths ourselves.
find . -type d | adhocify -s [path to script] is pretty much the same.
2017-07-27 22:10:49 +02:00
dcd1c2bb7b
updated TODO
2017-03-31 13:33:06 +02:00
1d1c961b50
updated README.md formating
2017-03-19 10:49:58 +01:00
4e280967d2
add README.md
2017-03-19 10:42:12 +01:00
68c67aa5e8
set argv[0] even if we do not pass anything else to the script
2017-03-19 09:53:04 +01:00
692e8d4514
updated README
2017-01-07 17:26:30 +01:00
db4154a0d1
fixed typos
2016-08-21 15:48:59 +02:00
200d7ba8cb
-r: check against max number of watches
2016-05-23 18:24:51 +02:00
be91bb8473
add a little warning for -r
2016-05-23 18:07:04 +02:00
4d6d58d7bf
rename: watchpath_addpath -> watchpath_add_path
2016-05-23 18:04:53 +02:00
a45a7a9acf
add basic recursive watch support
2016-05-23 17:54:02 +02:00
64b55f3bfd
added encryptor.sh example
2016-02-06 18:33:33 +01:00