|
@@ -0,0 +1,13 @@
|
|
|
|
|
+[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
|
|
|
|
|
+
|
|
|
|
|
+[Install]
|
|
|
|
|
+WantedBy=multi-user.target
|