Initial commit
This commit is contained in:
19
deploy/ghostgrid-dev.service
Normal file
19
deploy/ghostgrid-dev.service
Normal file
@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=GhostGrid Development
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=ghostgrid
|
||||
Group=ghostgrid
|
||||
WorkingDirectory=/opt/ghostgrid-dev
|
||||
Environment=NODE_ENV=production
|
||||
Environment=HOST=127.0.0.1
|
||||
Environment=PORT=3001
|
||||
EnvironmentFile=-/opt/ghostgrid-dev/.env
|
||||
ExecStart=/usr/bin/node dist/server.cjs
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user