init
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user