feat(deploy): add systemd service configuration and update deployment documentation

Add psagentia.service file for systemd service management and update DEPLOY.md
with new deployment paths, user service option (without sudo), and improved
service management commands for both system and user-level installations.
This commit is contained in:
marco
2026-09-03 16:51:18 -03:00
parent 485ceb59c3
commit fcf01cb19e
3 changed files with 62 additions and 9 deletions
+17
View File
@@ -0,0 +1,17 @@
[Unit]
Description=PsAgentIA - Personal Agent IA Conversacional
After=network.target
[Service]
Type=simple
User=marco
WorkingDirectory=/home/marco/PsAgentIA/app
Environment="PATH=/home/marco/PsAgentIA/app/venv/bin:/usr/local/bin:/usr/bin:/bin"
ExecStart=/home/marco/PsAgentIA/app/venv/bin/python3 /home/marco/PsAgentIA/app/psagentia_agent.py
Restart=always
RestartSec=10
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target