[Unit] Description=Face Recognition Service After=network.target [Service] Type=simple User={{USER}} WorkingDirectory=/home/valer/dp_prakticka/src EnvironmentFile=/home/valer/dp_prakticka/src/.env ExecStart=/home/valer/env_python_dp/bin/python3.10 /home/valer/dp_prakticka/src/face_rec_no_gui.py Restart=always RestartSec=5 [Install] WantedBy=multi-user.target