[Unit] Description=worst-scan-web After=network.target [Service] Type=exec User=ren WorkingDirectory=/home/ren/worst-scan-web/.next/standalone Environment=NODE_ENV=production Environment=PORT=3000 Environment=HOSTNAME=127.0.0.1 Environment=DB_PATH=/home/ren/worst-scan-web/data/worst-scan.db Environment=COVERS_DIR=/home/ren/worst-scan-web/data/covers ExecStart=/usr/bin/node server.js Restart=always RestartSec=5 [Install] WantedBy=multi-user.target