Add a verified exact-commit deployment pipeline
Some checks failed
Validate Sokko G / validate (push) Failing after 6m43s
Some checks failed
Validate Sokko G / validate (push) Failing after 6m43s
This commit is contained in:
parent
ca39b76282
commit
daef542474
10 changed files with 525 additions and 24 deletions
17
ops/systemd/sokko-g.service
Normal file
17
ops/systemd/sokko-g.service
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue