add systemd and nginx example configs
This commit is contained in:
16
lmgcitfy.service
Normal file
16
lmgcitfy.service
Normal file
@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=LMGCITFY - Let Me GCI That For You
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=www-data
|
||||
Group=www-data
|
||||
WorkingDirectory=/opt/lmgcitfy
|
||||
ExecStart=/usr/bin/npx next start -p 5000
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
Environment=NODE_ENV=production
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user