mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
ba532be4f3
I am running Keyoxide-Web on baremetal on my VPS. I cloned the repo into `/opt/` and `adduser` a dedicated user for it. Things you might want to adjust also is the `PORT` value. Fixes #48. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
16 lines
312 B
Desktop File
16 lines
312 B
Desktop File
[Unit]
|
|
Description=Keyoxide (Your online passport)
|
|
After=syslog.target
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=keyoxide
|
|
Group=www-data
|
|
WorkingDirectory=/opt/keyoxide-web/
|
|
ExecStart=/usr/bin/node /opt/keyoxide-web/src/index.js
|
|
Restart=always
|
|
RestartSec=2s
|
|
Environment=PORT=5000
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|