merca y ch
This commit is contained in:
21
deploy/systemd/benell.service
Normal file
21
deploy/systemd/benell.service
Normal file
@@ -0,0 +1,21 @@
|
||||
[Unit]
|
||||
Description=Casa Benell Next.js App
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=mdares03
|
||||
Group=mdares03
|
||||
WorkingDirectory=/home/mdares03/benell
|
||||
Environment=NODE_ENV=production
|
||||
Environment=PORT=3000
|
||||
ExecStart=/usr/bin/npm run start -- --port=3000 --hostname=0.0.0.0
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
TimeoutStopSec=30
|
||||
KillSignal=SIGINT
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user