pleroma2nip05/pleroma2nip05.service

14 lines
292 B
SYSTEMD
Raw Normal View History

2023-03-07 14:47:41 +01:00
[Unit]
Description=Pleroma2nip05
After=network.target
[Service]
2023-03-07 15:01:17 +01:00
User=nostr
2023-03-07 14:47:41 +01:00
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