20 lines
430 B
Desktop File
20 lines
430 B
Desktop File
[Unit]
|
|
Description=100kmph front desk
|
|
After=network.target mariadb.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=hundredkmph
|
|
Group=hundredkmph
|
|
WorkingDirectory=/opt/hundredkmph/web
|
|
Environment=NODE_ENV=production
|
|
Environment=HOSTNAME=127.0.0.1
|
|
Environment=PORT=3000
|
|
EnvironmentFile=/etc/hundredkmph/web.env
|
|
ExecStart=/usr/bin/node /opt/hundredkmph/web/server.js
|
|
Restart=on-failure
|
|
NoNewPrivileges=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|