#68: Using dotenv for a proper unix config file

This commit is contained in:
Daniel Quinn
2016-03-03 17:59:27 +00:00
parent 4d685ee424
commit 0aead1fbe6
5 changed files with 17 additions and 7 deletions

View File

@@ -2,10 +2,9 @@
Description=Paperless consumer
[Service]
EnvironmentFile=/etc/conf.d/paperless
User=paperless
Group=paperless
ExecStart=/home/paperless/project/virtualenv/bin/python /home/paperless/project/src/manage.py document_consumer -v $PAPERLESS_CONSUMPTION_VERBOSITY
ExecStart=/home/paperless/project/virtualenv/bin/python /home/paperless/project/src/manage.py document_consumer
[Install]
WantedBy=multi-user.target