2023-06-26 07:26:08 -06:00
|
|
|
[Unit]
|
2024-02-13 09:26:22 -07:00
|
|
|
Description=Keyoxide (Online identity verification)
|
2023-06-26 07:26:08 -06:00
|
|
|
After=syslog.target
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=keyoxide
|
|
|
|
Group=www-data
|
|
|
|
WorkingDirectory=/opt/keyoxide-web/
|
2024-02-13 09:26:22 -07:00
|
|
|
ExecStart=/usr/bin/node /opt/keyoxide-web/dist/index.js
|
2023-06-26 07:26:08 -06:00
|
|
|
Restart=always
|
|
|
|
RestartSec=2s
|
2024-02-13 09:26:22 -07:00
|
|
|
Environment=PORT=5000 DOMAIN=keyoxide.org PROXY_HOSTNAME=keyoxide.org
|
2023-06-26 07:26:08 -06:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|