[PR #1175] [CLOSED] Revamp of all the scripts. #3783

Closed
opened 2026-03-14 07:38:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amidaware/tacticalrmm/pull/1175
Author: @ninjamonkey198206
Created: 6/15/2022
Status: Closed

Base: developHead: develop-bash-updates


📝 Commits (10+)

  • 89ef9b6 Updated comments and moved pre-req installs
  • 8454be3 Merge branch 'amidaware:develop' into develop-bash-updates
  • 752e0fb Updated gpg key add to modern method
  • 8ddd693 Added dev flags code commented out
  • 1a1f41b Updated mesh config
  • a568808 More Comments added
  • 14c6a68 More comments
  • 1d9c543 even more comments
  • 889c3f9 updated comment
  • e540573 Updating user/password creation

📊 Changes

21 files changed (+2600 additions, -857 deletions)

View changed files

📝 api/tacticalrmm/requirements.txt (+3 -3)
📝 api/tacticalrmm/tacticalrmm/helpers.py (+2 -2)
📝 backup.sh (+2 -2)
bashfunctions.cfg (+2088 -0)
default-configs/celery/celery.conf (+16 -0)
default-configs/mesh/config.json (+34 -0)
default-configs/nginx/frontend.conf (+38 -0)
default-configs/nginx/meshcentral.conf (+41 -0)
default-configs/nginx/rmm.conf (+70 -0)
default-configs/uwsgi/app.ini (+16 -0)
📝 install.sh (+174 -844)
📝 restore.sh (+1 -1)
service-definitions/celery.service (+18 -0)
service-definitions/celerybeat.service (+16 -0)
service-definitions/daphne.service (+15 -0)
service-definitions/meshcentral.service (+16 -0)
service-definitions/nats-api.service (+14 -0)
service-definitions/nats.service (+18 -0)
service-definitions/rmm.service (+15 -0)
📝 troubleshoot_server.sh (+2 -2)

...and 1 more files

📄 Description

Merged all scripts into a single cfg file that can be split into further function type specific cfg files if needed/desired.
Added menu with options for previous individual script functions.
Added change to interpreter per mmx.
Added commenting in many locations.
Combined previous scripts into reusable functions where possible.
Added default config and service files, reducing the required output for those functions to a simple copy and sed command for each.
Added menu options for dev installs per Dinger and Silver.
Added menu options for UWSGI settings changes and cert import (Placeholders currently, functions not in place yet)
Added option to select dev repo during dev install.
Added DH generation and config to nginx config files.
Added STS setting to nginx configs per https://syslink.pl/cipherlist/
Added check for localhost per #779
Updated gpg key import for repos to modern method, as previous method is now deprecated.
Added support for Ubuntu 22.04 using existing 20.04 repos until new repos are available.
Added option to import existing cert and key using vim editor. Muahahahahahahaha!
Removed the need to set perms for letsencrypt folders by using symlinks.
Cert variables removed as symlinks make both cert and key available in static locations, which prevents the need to edit Nginx configs.
Imported certs are created in the same location if letsencrypt certs are not generated.
Added input verification where appropriate to prevent user error during entry.
Added option for manual input of usernames and passwords.
Other various tweaks and improvements.
More in the works


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amidaware/tacticalrmm/pull/1175 **Author:** [@ninjamonkey198206](https://github.com/ninjamonkey198206) **Created:** 6/15/2022 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `develop-bash-updates` --- ### 📝 Commits (10+) - [`89ef9b6`](https://github.com/amidaware/tacticalrmm/commit/89ef9b629f77d6709fc7c0fdc2c4a6253a4bd19f) Updated comments and moved pre-req installs - [`8454be3`](https://github.com/amidaware/tacticalrmm/commit/8454be3315a613997f76a62eb509cf5d18ccdc01) Merge branch 'amidaware:develop' into develop-bash-updates - [`752e0fb`](https://github.com/amidaware/tacticalrmm/commit/752e0fbbcc1787cc639230f408bd4d3c2abfcf03) Updated gpg key add to modern method - [`8ddd693`](https://github.com/amidaware/tacticalrmm/commit/8ddd693639510d4e2e8000a40ed127635cc07eec) Added dev flags code commented out - [`1a1f41b`](https://github.com/amidaware/tacticalrmm/commit/1a1f41be2f960c3d92e12103d5d40ad338f2b64b) Updated mesh config - [`a568808`](https://github.com/amidaware/tacticalrmm/commit/a568808e4e34fb4f29ecfdea83783172dab42edf) More Comments added - [`14c6a68`](https://github.com/amidaware/tacticalrmm/commit/14c6a684d1613dd441ad1b8df2e7fccfd49c38eb) More comments - [`1d9c543`](https://github.com/amidaware/tacticalrmm/commit/1d9c543cc939843147695993da4386286b8feff7) even more comments - [`889c3f9`](https://github.com/amidaware/tacticalrmm/commit/889c3f9453cd19710a96c00045267e79df29e995) updated comment - [`e540573`](https://github.com/amidaware/tacticalrmm/commit/e5405737c19631ba4c54c69869991afa58f73348) Updating user/password creation ### 📊 Changes **21 files changed** (+2600 additions, -857 deletions) <details> <summary>View changed files</summary> 📝 `api/tacticalrmm/requirements.txt` (+3 -3) 📝 `api/tacticalrmm/tacticalrmm/helpers.py` (+2 -2) 📝 `backup.sh` (+2 -2) ➕ `bashfunctions.cfg` (+2088 -0) ➕ `default-configs/celery/celery.conf` (+16 -0) ➕ `default-configs/mesh/config.json` (+34 -0) ➕ `default-configs/nginx/frontend.conf` (+38 -0) ➕ `default-configs/nginx/meshcentral.conf` (+41 -0) ➕ `default-configs/nginx/rmm.conf` (+70 -0) ➕ `default-configs/uwsgi/app.ini` (+16 -0) 📝 `install.sh` (+174 -844) 📝 `restore.sh` (+1 -1) ➕ `service-definitions/celery.service` (+18 -0) ➕ `service-definitions/celerybeat.service` (+16 -0) ➕ `service-definitions/daphne.service` (+15 -0) ➕ `service-definitions/meshcentral.service` (+16 -0) ➕ `service-definitions/nats-api.service` (+14 -0) ➕ `service-definitions/nats.service` (+18 -0) ➕ `service-definitions/rmm.service` (+15 -0) 📝 `troubleshoot_server.sh` (+2 -2) _...and 1 more files_ </details> ### 📄 Description Merged all scripts into a single cfg file that can be split into further function type specific cfg files if needed/desired. Added menu with options for previous individual script functions. Added change to interpreter per mmx. Added commenting in many locations. Combined previous scripts into reusable functions where possible. Added default config and service files, reducing the required output for those functions to a simple copy and sed command for each. Added menu options for dev installs per Dinger and Silver. Added menu options for UWSGI settings changes and cert import (Placeholders currently, functions not in place yet) Added option to select dev repo during dev install. Added DH generation and config to nginx config files. Added STS setting to nginx configs per https://syslink.pl/cipherlist/ Added check for localhost per #779 Updated gpg key import for repos to modern method, as previous method is now deprecated. Added support for Ubuntu 22.04 using existing 20.04 repos until new repos are available. Added option to import existing cert and key using vim editor. Muahahahahahahaha! Removed the need to set perms for letsencrypt folders by using symlinks. Cert variables removed as symlinks make both cert and key available in static locations, which prevents the need to edit Nginx configs. Imported certs are created in the same location if letsencrypt certs are not generated. Added input verification where appropriate to prevent user error during entry. Added option for manual input of usernames and passwords. Other various tweaks and improvements. More in the works --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 07:38:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#3783
No description provided.