sokko-g/ops/systemd/sokko-g.service
Shinuwa daef542474
Some checks failed
Validate Sokko G / validate (push) Failing after 6m43s
Add a verified exact-commit deployment pipeline
2026-10-23 17:33:32 +02:00

17 lines
519 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
ExecStart=/home/shinuwa/.nvm/versions/node/v24.11.1/bin/npm start
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target