Files
Art-gallery/deploy/gallery.service
T
Danila KhodjaefandCursor 4eead54062 Add production deployment, photorealistic movement walls, and fix duplicate influence links.
Configure hosting for gallery.mysuperlab.netcraze.pro and LAN access, enhance movement gallery textures with period-appropriate painted materials, dedupe influenced-by API responses via painting_influence_sources, and refresh several painting image files.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-21 23:00:13 +03:00

23 lines
545 B
Desktop File

# systemd unit — adjust User, WorkingDirectory, and EnvironmentFile paths.
# Install:
# sudo cp deploy/gallery.service /etc/systemd/system/gallery.service
# sudo systemctl daemon-reload
# sudo systemctl enable --now gallery
[Unit]
Description=Art Gallery (Node.js)
After=network.target
[Service]
Type=simple
User=gallery
WorkingDirectory=/opt/Art-gallery
Environment=NODE_ENV=production
EnvironmentFile=/opt/Art-gallery/.env
ExecStart=/usr/bin/node server/index.js
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target