add systemd and nginx example configs

This commit is contained in:
2026-02-14 00:14:11 +00:00
parent 24e097c8b4
commit c6a7c009c6
2 changed files with 40 additions and 0 deletions

16
lmgcitfy.service Normal file
View 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