mirror of
https://github.com/sergeyyarkov/astro-directus-example.git
synced 2026-10-11 10:19:04 +03:00
18 lines
369 B
Markdown
18 lines
369 B
Markdown
Create `webhookd.service` in `/etc/systemd/system`:
|
|
|
|
```text
|
|
[Unit]
|
|
Description=Webhook server
|
|
After=network.target
|
|
StartLimitIntervalSec=0
|
|
[Service]
|
|
Type=simple
|
|
Restart=always
|
|
RestartSec=1
|
|
User=root
|
|
ExecStart=/root/apps/astro-directus-example/bin/webhookd -scripts /root/apps/astro-directus-example/scripts -hook-timeout 1000
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
```
|