mirror of
https://github.com/thecyberlearn/hostinger-django-demo.git
synced 2026-08-18 18:52:56 +00:00
🎉 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
22 lines
587 B
Desktop File
22 lines
587 B
Desktop File
[Unit]
|
|
Description=Django Demo Project Gunicorn daemon
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=notify
|
|
User=www-data
|
|
Group=www-data
|
|
RuntimeDirectory=gunicorn
|
|
WorkingDirectory=/home/ubuntu/django-demo
|
|
ExecStart=/home/ubuntu/django-demo/venv/bin/gunicorn --config /home/ubuntu/django-demo/deploy/gunicorn.conf.py demo_project.wsgi:application
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
KillMode=mixed
|
|
TimeoutStopSec=5
|
|
PrivateTmp=true
|
|
|
|
# Environment variables
|
|
Environment=DJANGO_SETTINGS_MODULE=demo_project.settings
|
|
EnvironmentFile=/home/ubuntu/django-demo/.env
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |