[Unit]
Description=QZMusic Web Server
After=network.target

[Service]
Type=simple
WorkingDirectory=/opt/QZMusic-Web
ExecStart=/usr/bin/env node server.cjs
Restart=always
RestartSec=3
Environment=NODE_ENV=production
Environment=QZMUSIC_PORT=1219
Environment=QZMUSIC_HOST=0.0.0.0
StandardOutput=journal
StandardError=journal

[Install]
WantedBy=multi-user.target
