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

18 lines
471 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
2024-06-22 17:51:16 +00:00
StandardOutput=append:/var/www/c3lf-sys3/service.info.log
StandardError=append:/var/www/c3lf-sys3/service.error.log
[Install]
WantedBy=multi-user.target