mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
feat: update service file
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
This commit is contained in:
parent
ba532be4f3
commit
9caa1f6795
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Keyoxide (Your online passport)
|
Description=Keyoxide (Online identity verification)
|
||||||
After=syslog.target
|
After=syslog.target
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
|
@ -7,10 +7,10 @@ After=network.target
|
||||||
User=keyoxide
|
User=keyoxide
|
||||||
Group=www-data
|
Group=www-data
|
||||||
WorkingDirectory=/opt/keyoxide-web/
|
WorkingDirectory=/opt/keyoxide-web/
|
||||||
ExecStart=/usr/bin/node /opt/keyoxide-web/src/index.js
|
ExecStart=/usr/bin/node /opt/keyoxide-web/dist/index.js
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=2s
|
RestartSec=2s
|
||||||
Environment=PORT=5000
|
Environment=PORT=5000 DOMAIN=keyoxide.org PROXY_HOSTNAME=keyoxide.org
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in a new issue