You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
293 B
14 lines
293 B
[Unit] |
|
Description=pySonnerie Backend API |
|
After=network.target |
|
|
|
[Service] |
|
Type=simple |
|
User=www-data |
|
WorkingDirectory=/opt/pySonnerie/backend |
|
ExecStart=/opt/pySonnerie/backend/.venv/bin/python /opt/pySonnerie/backend/run.py |
|
Restart=on-failure |
|
RestartSec=3 |
|
|
|
[Install] |
|
WantedBy=multi-user.target
|
|
|