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

13 lines
331 B
Text
Raw Normal View History

[Unit]
Description=c3lf sys3 background service
After=network.target
[Service]
User=www-data
Group=www-data
WorkingDirectory=/var/www/c3lf-sys3
ExecStart=/var/www/c3lf-sys3/venv/bin/python3 /var/www/c3lf-sys3/repo/core/manage.py update_metrics
Environment=DJANGO_SETTINGS_MODULE=core.settings
[Install]
WantedBy=multi-user.target