c3lf-system-3/deploy/ansible/playbooks/templates/c3lf-sys3.service.j2

16 lines
355 B
Text
Raw Normal View History

[Unit]
Description=standalone c3lf-sys3 server
After=network.target
[Service]
Type=notify
WorkingDirectory=/var/www/c3lf-sys3
ExecStart=/var/www/c3lf-sys3/venv/bin/python3 /var/www/c3lf-sys3/repo/core/server.py
2023-11-22 22:55:00 +00:00
Environment=DJANGO_SETTINGS_MODULE=core.settings
Restart=always
RestartSec=5
User=www-data
Group=www-data
[Install]
WantedBy=multi-user.target