debmaker/ressources/paperless-ngx/paperless-webserver.service

18 lines
479 B
SYSTEMD
Raw Normal View History

2024-05-15 10:20:52 +02:00
[Unit]
Description=Paperless webserver
After=network.target
Wants=network.target
#Requires=redis.service
#Requires=paperless-webserver.socket
[Service]
User=paperless-ngx
Group=paperless-ngx
EnvironmentFile=/etc/default/paperless-ngx
WorkingDirectory=/usr/share/paperless-ngx/src
ExecStartPre=/usr/share/paperless-ngx/prestart.sh
ExecStart=/var/cache/paperless-ngx/python-venv/bin/gunicorn -c ../gunicorn.conf.py paperless.asgi:application
[Install]
WantedBy=multi-user.target