Cleans up and documnets installation on bare metal, includes systemd service file for the celery and celery beat

This commit is contained in:
Trenton Holmes
2022-09-28 19:37:19 -07:00
parent 4422bb3f69
commit 38ba1d1a52
3 changed files with 34 additions and 15 deletions

View File

@@ -0,0 +1,12 @@
[Unit]
Description=Paperless Celery Workers
Requires=redis.service
[Service]
User=paperless
Group=paperless
WorkingDirectory=/opt/paperless/src
ExecStart=celery --app paperless worker --loglevel INFO
[Install]
WantedBy=multi-user.target