18 lines
No EOL
471 B
Django/Jinja
18 lines
No EOL
471 B
Django/Jinja
[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
|
|
Environment=DJANGO_SETTINGS_MODULE=core.settings
|
|
Restart=always
|
|
RestartSec=5
|
|
User=www-data
|
|
Group=www-data
|
|
StandardOutput=append:/var/www/c3lf-sys3/service.info.log
|
|
StandardError=append:/var/www/c3lf-sys3/service.error.log
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |