script for app_biometric

This commit is contained in:
wilsongomez 2022-09-13 08:13:17 -05:00
parent 845a823ae3
commit f40c5c396c
2 changed files with 28 additions and 0 deletions

14
api_bio.service Normal file
View File

@ -0,0 +1,14 @@
# Script biometric Technologies
[Unit]
Description= Server Biometric
After=network.target
[Service]
User=psk
WorkingDirectory=/home/psk/biometric/api-bio
ExecStart=/home/psk/biometric/venv/bin/uvicorn main:app --reload --port 8010 --host 0.0.0.0
#ExecStop=
[Install]

14
app_bio.service Normal file
View File

@ -0,0 +1,14 @@
# Script Server Presik Technologies
[Unit]
Description=App Biometric Web
[Service]
User=psk
Group=psk
ExecStart=/home/psk/biometric/run_app.sh
ExecStop=
[Install]
WantedBy=multi-user.target