Rename README-generator -> readme_generator because python tools hate caps…

This commit is contained in:
Félix Piédallu
2024-02-15 14:57:57 +01:00
parent 49a981c3f6
commit 2eeee2541b
9 changed files with 3 additions and 4 deletions

View File

@ -0,0 +1,16 @@
[Unit]
Description=Auto-README webhook gunicorn daemon
After=network.target
[Service]
PIDFile=/run/gunicorn/autoreadme_webhook-pid
User=autoreadme_webhook
Group=autoreadme_webhook
WorkingDirectory=__PATH_TO_README_GENERATOR__
ExecStart=__PATH_TO_README_GENERATOR__/venv/bin/gunicorn -w 4 -b 127.0.0.1:8123 webhook:app
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s TERM $MAINPID
PrivateTmp=true
[Install]
WantedBy=multi-user.target