Browse Source

MàJ exemple systemd

master
Guillaume Dupuy 4 months ago
parent
commit
11b20140cd
  1. 4
      systemd/scribe.service

4
systemd/scribe.service

@ -3,8 +3,8 @@ Description=gunicorn instance to serve Scribe
After=network.target
[Service]
User=root
Group=root
User=scribe
Group=scribe
WorkingDirectory=/srv/scribe
ExecStart=/srv/scribe/venv/bin/gunicorn --workers 4 --bind unix:/srv/scribe/scribe.sock "scribe:create_app()" --access-logfile - --error-logfile - --capture-output

Loading…
Cancel
Save