camp/etc/systemd/system/camp.service

15 lines
271 B
SYSTEMD
Raw Normal View History

2017-12-19 09:47:06 +00:00
[Unit]
Description=studio.camp
After=postgresql.service
[Service]
Type=simple
Restart=always
User=campdjango
Group=campdjango
WorkingDirectory=/srv/camp
ExeccStart=/srv/camp/venv/bin/gunicorn -b 127.0.0.1:8087 camp.wsgi:application
[Install]
WantedBy=multi-user.target