Systemd serfice units

This commit is contained in:
Daniel Quinn committed 2016-01-10 23:17:31 +00:00
1 parent 97e9cc37a9
commit 6d095910eb
2 files changed
+22

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
[Unit]
Description=Paperless webserver
[Service]
EnvironmentFile=/etc/conf.d/paperless
User=paperless
Group=paperless
ExecStart=/home/paperless/project/virtualenv/bin/python /home/paperless/project/src/manage.py runserver 0.0.0.0:8000
[Install]
WantedBy=multi-user.target