feat(deploy): implementar init.sh, desplegar.sh, servicio systemd y desplegar en CT 132

This commit is contained in:
2026-10-17 10:43:53 -05:00
parent 5a7dbf7ab9
commit 18c6cbcf6b
7 changed files with 268 additions and 5 deletions
+19
View File
@@ -0,0 +1,19 @@
[Unit]
Description=SIAX Managed Service: HELPDESK
After=network.target
[Service]
Type=simple
User=user_apps
WorkingDirectory=/home/user_apps/apps/help_desk
Environment=PATH=/home/user_apps/.nvm/versions/node/v24.12.0/bin:/usr/local/bin:/usr/bin:/bin
Environment=NODE_ENV=production
Environment=PORT=3008
ExecStart=/home/user_apps/.nvm/versions/node/v24.12.0/bin/node /home/user_apps/apps/help_desk/app.js
Restart=always
RestartSec=10
SyslogIdentifier=siax-app-HELPDESK
[Install]
WantedBy=multi-user.target