2023-11-22 20:41:49 +00:00
|
|
|
[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
|
2023-11-22 20:41:49 +00:00
|
|
|
Restart=always
|
|
|
|
RestartSec=5
|
|
|
|
User=www-data
|
|
|
|
Group=www-data
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|