Files
ProxmoxVE/ct
CanbiZ (MickLesk) 28d34e9169 Optimize Jotty installation with standalone mode (#10207)
* Optimize Jotty installation with standalone mode

- Use Next.js standalone mode to reduce folder size from ~2.4GB to ~80MB
- Copy public, howto, and static folders to standalone output
- Remove node_modules and build artifacts after creating standalone version
- Update systemd service to use node directly instead of yarn start
- Improves build efficiency and reduces disk usage

Implements #10178
Co-authored-by: fccview <fccview@users.noreply.github.com>

* Apply standalone mode optimization to Jotty update script

- Use standalone mode in update_script function
- Ensures updates maintain the optimized deployment structure
- Consistent with install script changes

* Update systemd service in jotty update script

- Recreate systemd service file with correct ExecStart command
- Change from 'yarn start' to '/usr/bin/node server.js'
- Ensures old installations get updated service configuration
- Run daemon-reload after service file update

---------

Co-authored-by: fccview <fccview@users.noreply.github.com>
2025-12-21 23:15:08 +01:00
..
2025-12-19 22:41:12 +01:00
2025-05-14 14:28:37 +02:00
2025-12-21 21:46:17 +01:00
2025-12-01 18:26:30 +01:00
2025-12-09 10:05:36 +01:00
2025-12-16 00:02:51 +01:00
2025-11-03 09:47:38 +01:00
2025-12-20 22:11:54 +01:00
2025-11-12 22:13:35 +01:00
2025-05-22 15:27:18 +02:00
2025-11-14 22:12:23 +01:00
2025-11-06 20:42:35 +01:00
2025-12-01 18:24:16 +01:00
2025-11-18 13:27:40 +01:00
2025-12-19 22:40:45 +01:00
2025-11-07 09:40:08 +01:00
2025-12-19 18:04:42 +01:00
2025-11-26 13:49:07 +01:00
2025-11-20 13:02:30 +01:00
2025-12-15 13:03:20 +01:00
2025-12-01 19:31:16 +01:00
2025-11-16 16:05:10 +01:00
2025-12-05 13:45:55 +01:00
2025-11-27 14:02:11 +01:00
2025-12-05 22:16:42 +01:00
2025-11-11 17:22:34 +01:00
2025-12-18 21:31:53 +01:00
2025-12-19 13:22:07 +01:00
2025-12-17 16:27:16 +01:00
2025-11-27 09:13:15 +01:00
2025-12-17 16:30:41 +01:00
2025-12-17 16:30:56 +01:00
2025-12-17 16:31:39 +01:00
2025-12-17 16:34:24 +01:00
2025-12-17 16:34:36 +01:00
2025-12-18 02:31:28 +01:00
2025-12-02 13:03:59 +01:00
2025-12-11 10:52:49 +01:00
2025-12-11 12:30:27 +01:00
2025-12-11 10:51:26 +01:00
2025-11-12 18:06:42 +01:00
2025-12-13 11:30:06 +01:00
2025-12-11 12:31:37 +01:00
2025-12-17 16:34:53 +01:00
2025-12-10 18:38:56 +01:00
2025-12-13 23:05:07 +01:00
2025-12-10 21:38:24 +01:00
2025-11-22 17:17:28 +01:00
2025-11-29 22:53:41 +01:00
2025-12-10 21:37:36 +01:00
2025-11-12 10:52:07 +01:00
2025-12-09 15:58:13 +01:00
2025-12-09 16:04:15 +01:00
2025-12-09 16:04:47 +01:00