GetCito/getcito.service
vickytechkey 3157985b9f
Some checks failed
Deploy Beta (NATIVE) / deploy (push) Failing after 13s
ci: add Forgejo workflow and systemd service units for beta deployment
2026-10-19 20:51:37 +05:30

23 lines
698 B
Desktop File

[Unit]
Description=GetCito Web Application (seo.tradhox.com)
After=network.target postgresql.service
[Service]
Type=simple
User=ubuntu
WorkingDirectory=/home/ubuntu/getcito/apps/web
Environment=PATH=/opt/node24/bin:/usr/local/bin:/usr/bin:/bin
Environment=NODE_ENV=production
Environment=PORT=3003
Environment=NITRO_PORT=3003
Environment=NITRO_HOST=127.0.0.1
Environment=HOST=127.0.0.1
EnvironmentFile=/home/ubuntu/getcito/.env
ExecStart=/opt/node24/bin/node /home/ubuntu/getcito/apps/web/.output/server/index.mjs
Restart=always
RestartSec=5
StandardOutput=append:/home/ubuntu/getcito/logs/web.log
StandardError=append:/home/ubuntu/getcito/logs/web-error.log
[Install]
WantedBy=multi-user.target