- 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
24 lines
515 B
Desktop File
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
|