You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
526 B
Plaintext
22 lines
526 B
Plaintext
[Unit]
|
|
Description=AI Orquestrador Telegram Satellite
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=vitor
|
|
Group=vitor
|
|
WorkingDirectory=/opt/orquestrador
|
|
EnvironmentFile=/opt/orquestrador/.env.prod
|
|
Environment=PATH=/opt/orquestrador/venv/bin
|
|
ExecStart=/bin/sh -c '/opt/orquestrador/venv/bin/python -m app.db.init_db && /opt/orquestrador/venv/bin/python -m app.integrations.telegram_satellite_service'
|
|
Restart=always
|
|
RestartSec=5
|
|
|
|
# hardening basico
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|