# Uninstalled example for a future Linux/systemd server. # Confirm Node path, service account, directories, and permissions before use. # Build with npm run build:server before starting this unit. [Unit] Description=Behind Glass static app and arrival API After=network.target [Service] Type=simple User=behind-glass Group=behind-glass WorkingDirectory=/opt/behind-glass/current EnvironmentFile=/etc/behind-glass/arrival.env ExecStart=/usr/bin/node server/index.mjs Restart=on-failure RestartSec=5 TimeoutStopSec=30 [Install] WantedBy=multi-user.target