16 lines
448 B
Desktop File
16 lines
448 B
Desktop File
[Unit]
|
|
Description=Github webhooks for YunoHost-Apps management
|
|
After=network.target
|
|
|
|
[Service]
|
|
PIDFile=/run/gunicorn/yunohost_apps_webhooks-pid
|
|
User=yunohost_apps_webhooks
|
|
Group=yunohost_apps_webhooks
|
|
WorkingDirectory=__PATH_TO_APPS_TOOLS__/webhooks
|
|
ExecStart=__PATH_TO_APPS_TOOLS__/webhooks/venv/bin/python3 webhook.py
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
ExecStop=/bin/kill -s TERM $MAINPID
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|