misc
This commit is contained in:
11
assets/webhook/etc/systemd/system/webhook.service
Normal file
11
assets/webhook/etc/systemd/system/webhook.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Small server for creating HTTP endpoints (hooks)
|
||||
Documentation=https://github.com/adnanh/webhook/
|
||||
|
||||
[Service]
|
||||
ExecStart=webhook -hooks /etc/webhooks.conf -verbose -nopanic -hotreload
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
3
assets/webhook/etc/webhook.conf
Normal file
3
assets/webhook/etc/webhook.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
- id: deploy-app-enfrancais
|
||||
execute-command: "/root/deploy-app-enfrancais-hook.sh"
|
||||
command-working-directory: "/home/appdev/"
|
Reference in New Issue
Block a user