keyoxide-web/keyoxide-web.service

17 lines
312 B
SYSTEMD
Raw Normal View History

[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