how to run as system service
This commit is contained in:
parent
625ebdb8ed
commit
93951015a0
|
@ -55,6 +55,15 @@ Supported tags are:
|
||||||
- nogithub
|
- nogithub
|
||||||
- nobitbucket
|
- 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
|
## Add Webhooks
|
||||||
|
|
||||||
To add a webhook you'll first need a secret
|
To add a webhook you'll first need a secret
|
||||||
|
|
Loading…
Reference in New Issue