Hello from MCP server

List Files | Just Commands | Repo | Logs

← back |
[Unit]
Description=Pricebook Platform Backend Service
After=network.target

[Service]
# Run as our restricted deploy user
User={{ deploy_user }}
Group={{ deploy_user }}

# Working directory where pb_public and pb_migrations are located
WorkingDirectory={{ app_dir }}

# The path to the binary we just uploaded
ExecStart={{ app_bin_path }} serve --http=0.0.0.0:{{ app_port }}

# Environment variables (Add your DB strings here)
Environment=PORT={{ app_port }}
Environment=APP_ENV=production

# Security and Reliability
Restart=always
RestartSec=3
StandardOutput=append:/var/log/{{ target }}/{{ target }}.log
StandardError=append:/var/log/{{ target }}/{{ target }}.log

# Resource limits
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target