Add the server-backed card game: Discord login, recharging pack openings, album, trades, gifts, stardust shop, campaign codes and its administration, stored in SQLite and disabled in production until configured. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
559 B
Desktop File
18 lines
559 B
Desktop File
# Rôle : exécute le serveur de production Sokko G avec la version Node fixée par le projet.
|
|
[Unit]
|
|
Description=Sokko G WebApp
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=shinuwa
|
|
WorkingDirectory=/data/webapps/sites/sokko-g
|
|
Environment=NODE_ENV=production
|
|
Environment=PATH=/home/shinuwa/.nvm/versions/node/v24.11.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
EnvironmentFile=-/etc/sokko-g/cards.env
|
|
ExecStart=/home/shinuwa/.nvm/versions/node/v24.11.1/bin/npm start
|
|
Restart=always
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|