update server
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
[Unit]
|
||||
Description=ReinLoop Node.js server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=Epifnne
|
||||
Group=Epifnne
|
||||
WorkingDirectory=/ReinLoop/server
|
||||
Environment=NODE_ENV=production
|
||||
Environment=HOST=127.0.0.1
|
||||
Environment=PORT=3000
|
||||
Environment=PUBLIC_BASE_URL=https://ReinLoop.dominatedconvergence.com
|
||||
EnvironmentFile=/ReinLoop/server/.env.production
|
||||
ExecStart=/usr/bin/node /ReinLoop/server/src/server.js
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user