feat(deploy): implementar init.sh, desplegar.sh, servicio systemd y desplegar en CT 132
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user