Initial import of AbelBirdNest Stock
This commit is contained in:
18
deploy/systemd/abelbirdnest-web.service
Normal file
18
deploy/systemd/abelbirdnest-web.service
Normal file
@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=AbelBirdnest Stock Next.js
|
||||
After=network.target postgresql.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/var/www/abelbirdnest-web
|
||||
Environment=NODE_ENV=production
|
||||
Environment=PORT=3007
|
||||
EnvironmentFile=/var/www/abelbirdnest-web/.env.production
|
||||
ExecStart=/usr/bin/npm run start
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
User=abelbirdnest
|
||||
Group=abelbirdnest
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user