[Unit]
Description=Keyoxide (Online identity verification)
After=syslog.target
After=network.target

[Service]
User=keyoxide
Group=www-data
WorkingDirectory=/opt/keyoxide-web/
ExecStart=/usr/bin/node /opt/keyoxide-web/dist/index.js
Restart=always
RestartSec=2s
Environment=PORT=5000 DOMAIN=domain.example PROXY_HOSTNAME=domain.example

[Install]
WantedBy=multi-user.target