[Unit] Description=SolaceScan Next Frontend Service After=network.target Wants=network.target [Service] Type=simple User=www-data Group=www-data WorkingDirectory=/opt/solacescanscout/frontend/current Environment=NODE_ENV=production Environment=HOSTNAME=127.0.0.1 Environment=PORT=3000 ExecStart=/usr/bin/node /opt/solacescanscout/frontend/current/server.js Restart=always RestartSec=5 StandardOutput=journal StandardError=journal SyslogIdentifier=solacescanscout-frontend NoNewPrivileges=true PrivateTmp=true ProtectSystem=strict ProtectHome=true ReadWritePaths=/opt/solacescanscout/frontend LimitNOFILE=65536 [Install] WantedBy=multi-user.target