bottleneckcrm/crm-frontend.service
vickytechkey 8ae1276cd1
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 1m55s
Deploy BottleCRM SvelteKit frontend to EC2 and update CI/CD workflows
2026-10-24 14:52:13 +05:30

20 lines
472 B
Desktop File

[Unit]
Description=BottleCRM SvelteKit Frontend Service
After=network.target
[Service]
Type=simple
User=ubuntu
WorkingDirectory=/home/ubuntu/crmfrontend
Environment=NODE_ENV=production
Environment=PORT=3000
Environment=HOST=127.0.0.1
Environment=PUBLIC_DJANGO_API_URL=https://betaapicsa.tradhox.com
Environment=ADDRESS_HEADER=X-Forwarded-For
Environment=XFF_DEPTH=1
ExecStart=/usr/bin/node build/index.js
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target