Resourcemanagement/resourcemanagement.service
vickytechkey fbff2e3fd9
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 10s
fix(postgres): patch redbean-node for PostgreSQL dialect and bind handling, update service
2026-10-19 19:55:15 +05:30

25 lines
770 B
Desktop File

[Unit]
Description=ResourceManagement Monitoring Service (status.tradhox.com)
After=network.target postgresql.service
[Service]
Type=simple
User=ubuntu
WorkingDirectory=/home/ubuntu/resourcemanagement
Environment=NODE_ENV=production
Environment=PORT=3002
Environment=UPTIME_KUMA_PORT=3002
Environment=UPTIME_KUMA_DB_TYPE=postgres
Environment=DB_HOST=127.0.0.1
Environment=DB_PORT=5432
Environment=DB_USER=vignesh
Environment=DB_PASSWORD=vignesh_secret_pass_2026
Environment=DB_NAME=ResourceManagement
ExecStart=/usr/bin/node --import=tsx server/server.js --port=3002
Restart=always
RestartSec=10
StandardOutput=append:/home/ubuntu/resourcemanagement/logs/app.log
StandardError=append:/home/ubuntu/resourcemanagement/logs/error.log
[Install]
WantedBy=multi-user.target