- No spamming
- No asking moderators for privileges
- Only very little offtopic allowed
- No NSFW topics, but some swearing is allowed. (Just don't become a sailor ;))
- Being "annoyed" at someone is not an excuse for a ban or quiet.
| """ | |
| File: gitlab_webhooks/app.py | |
| Author: John Andersen | |
| Description: A webserver to receive json web hooks from gitlab_webhooks | |
| The hooks are dealt with by calling the corresponding function in | |
| hooks.py. For example a push is received so the function push in | |
| hook.py is called and passed the hook data. | |
| Crontab line to run on reboot | |
| @reboot /usr/bin/python /path/to/gitlab_webhooks/app.py 9898 |