diff --git a/Auto_Anons_Generator.service b/Auto_Anons_Generator.service index e439160..4244a9b 100644 --- a/Auto_Anons_Generator.service +++ b/Auto_Anons_Generator.service @@ -9,13 +9,15 @@ Type=simple User=eng Group=eng WorkingDirectory=/home/eng/ +Environment=PATH=/home/eng/.venv/bin/ EnvironmentFile=/mnt/aescript/.env +ExecStart=python3 AF_script_test_4.py # Лимиты ресурсов MemoryMax=1G CPUQuota=80% -ExecStart=/home/eng/.venv/bin/python AF_script_test_4.py +# Логирование StandardOutput=journal StandardError=journal SyslogIdentifier=AFS