forked from venetoarpa/arpav-cline-backend
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweaked webhook server initialization params
- Loading branch information
1 parent
6ff8bdc
commit b22e7ac
Showing
2 changed files
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
# systemd service file for the webhook server | ||
# place this in /etc/systemd/system | ||
# - Create the `/etc/systemd/system/webhook.service` file with these contents | ||
# - Then modify the value of the WEBHOOK_SECRET environment variable | ||
# - Run `sudo systemctl daemon-relaod` | ||
# - Finally run sudo systemctl start webhook.conf | ||
|
||
[Service] | ||
EnvironmentFile=/home/arpav/arpav-ppcv.env | ||
Environment="WEBHOOK_SECRET=change-me" | ||
ExecStart=/usr/bin/webhook -template -port 9001 -hooks /home/arpav/webhooks/hooks.yaml | ||
User=arpav | ||
Group=arpav |