This unix daemon eats webhook requests and maps them to shell invocations as specified by a user-supplied configuration file.
- Node.js v0.12.0+
- Ubuntu 14.04
sudo npm install --unsafe-perm --global tjwebhooker
sudo npm uninstall --unsafe-perm --global tjwebhooker
- populate
/etc/tjwebhooker/webhooks.json
as you see fit -
service tjwebhooker restart
to reload your webhooks configuration - there is no third thing
T.J. Webhooker writes to the syslog facility specified in /etc/tjwebhooker/daemon.conf
. (local0, by default) You
should definitely configure rsyslog to do something useful with these messages. Definitely do not comment out the
facility setting in daemon.conf
because that would turn off logging entirely.
T.J. Webhooker is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.