Create service template

This commit is contained in:
akulij 2024-08-13 05:50:36 +03:00
parent 6131b9917e
commit 18dcbbb418

14
webhook.service.template Normal file
View File

@ -0,0 +1,14 @@
[Unit]
Description=Webhook
After=network-online.target
Wants=network-online.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=root
ExecStart=RUNPATH/run.sh
[Install]
WantedBy=multi-user.target