[Unit]
Description=GLS-0231 Light Arrival read-only contribution route recall
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User=guanghu
Group=guanghu
WorkingDirectory=__RELEASE_ROOT__/server-tools/light-arrival-navigation
Environment=GLS0231_HOST=127.0.0.1
Environment=GLS0231_PORT=3924
Environment=GLS0231_MAP=__RELEASE_ROOT__/routing/persona-contribution-map.json
ExecStart=/usr/bin/node __RELEASE_ROOT__/server-tools/light-arrival-navigation/server.js
Restart=always
RestartSec=5
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadOnlyPaths=__RELEASE_ROOT__
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
LockPersonality=true

[Install]
WantedBy=multi-user.target
