- [Unit]
- Description=Consultorio-backend for {{ client_username }}
- After=networking.service
- Requires=networking.service
- [Service]
- User={{ client_username }}
- TimeoutStartSec=0
- WorkingDirectory=/home/{{ client_username }}/consultorio_backend/back/
- ExecStart=/usr/bin/python3 app.py {{ client_port }}
- [Install]
- WantedBy=multi-user.target
|