Commit Graph

67 Commits

Author SHA1 Message Date
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
26cea45459 updated README 2016-01-02 14:23:43 +01:00
58db52dfc9 usage text: document -e 2016-01-02 14:23:20 +01:00
3a22605fc6 README improvement 2015-10-12 22:42:09 +02:00
68c11d296b formating 2015-10-12 22:40:36 +02:00
8b668be219 better function name 2015-05-11 12:33:10 +02:00
8304fdf2ab fixed wrong bit returned for IN_MOVE_SELF 2015-01-06 20:19:00 +01:00
92887b4d8d Added TODO 2014-12-20 20:12:01 +01:00
2033102e40 Implemented -e: exit adhocify if child exits with specified return code 2014-12-20 20:11:51 +01:00
daec97f2b3 Licence: ISC 2014-10-22 00:31:17 +02:00
fa9e9a0dfb Updated README 2014-10-22 00:30:53 +02:00
252df6f648 corrected perror value in run_prog 2014-10-21 23:51:37 +02:00
a8db2df993 Prepare the script arguments when we process adhocify's arguments.
This way all children don't have to do the same work all and over again.
They only need to replace {}.
2014-10-21 23:41:53 +02:00
9c29c163c1 Added support for user specified script arguments 2014-10-10 15:52:01 +02:00