13 lines
331 B
Text
13 lines
331 B
Text
|
[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
|