ice/scripts/great-lakes-ice-report.service
Deco Vander d9559f71fe Update HTML files to use Bunny.net CDN for static assets
- Updated all static asset URLs to use iceymi.b-cdn.net CDN
- Changed favicon, CSS, and JS file references in index.html, admin.html, and privacy.html
- API calls remain pointed to origin server for dynamic content
- Ready for CDN deployment with proper cache separation
2025-07-03 20:44:16 -04:00

24 lines
515 B
Desktop File

[Unit]
Description=Great Lakes Ice Report - Community Winter Conditions Tool
After=network.target
Wants=network.target
[Service]
Type=simple
User=great-lakes-ice-report
Group=great-lakes-ice-report
WorkingDirectory=/opt/great-lakes-ice-report
ExecStart=/usr/bin/node server.js
Restart=always
RestartSec=5
Environment=NODE_ENV=production
# Security settings
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/opt/great-lakes-ice-report
[Install]
WantedBy=multi-user.target