pleroma2nip05/pleroma2nip05.service

14 lines
292 B
INI

[Unit]
Description=Pleroma2nip05
After=network.target
[Service]
User=nostr
WorkingDirectory=/opt/pleroma2nip05
Environment=FLASK_CONFIG=production
ExecStart=/opt/pleroma2nip05/venv/bin/gunicorn -b localhost:5000 --preload --workers=1 --threads=5 -t 60
[Install]
WantedBy=multi-user.target