how to run as system service

This commit is contained in:
AJ ONeal 2020-10-09 09:44:56 +00:00
parent 625ebdb8ed
commit 93951015a0
1 changed files with 9 additions and 0 deletions

View File

@ -55,6 +55,15 @@ Supported tags are:
- nogithub
- nobitbucket
## Run as a System Service
```bash
sudo env PATH="$PATH" \
serviceman add --name gitdeploy --system \
--username app -path "$PATH" -- \
gitdeploy run --exec ./scripts/
```
## Add Webhooks
To add a webhook you'll first need a secret