[PR #64] [MERGED] Define Custom Temp Directory for Unix Hosts #65

Closed
opened 2026-03-02 02:13:03 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amidaware/rmmagent/pull/64
Author: @SoarinFerret
Created: 9/18/2025
Status: Merged
Merged: 12/1/2025
Merged by: @wh1te909

Base: developHead: unix-directory


📝 Commits (2)

  • 1c3dfb2 add support for unix temp dirs
  • 120b804 fix tmpdir setting naming scheme

📊 Changes

8 files changed (+44 additions, -11 deletions)

View changed files

📝 agent/agent.go (+2 -0)
📝 agent/agent_unix.go (+3 -2)
📝 agent/install.go (+3 -2)
📝 agent/install_unix.go (+3 -1)
📝 agent/install_windows.go (+8 -1)
📝 agent/utils.go (+22 -5)
📝 main.go (+2 -0)
📝 shared/types.go (+1 -0)

📄 Description

As discussed in a previous pull request (#55), here is a new patch that allows setting an optional tmpdir for Unix hosts. The functionality also exists for Windows hosts, however it is not been fully implemented. My use case is primarily for NixOS systems.

This does not change the default / existing functionality. It adds a new flag for the installer (-tmpdir), and a new config option in the /etc/tacticalagent file for a tmpdir.

Fixes #39


🔄 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/rmmagent/pull/64 **Author:** [@SoarinFerret](https://github.com/SoarinFerret) **Created:** 9/18/2025 **Status:** ✅ Merged **Merged:** 12/1/2025 **Merged by:** [@wh1te909](https://github.com/wh1te909) **Base:** `develop` ← **Head:** `unix-directory` --- ### 📝 Commits (2) - [`1c3dfb2`](https://github.com/amidaware/rmmagent/commit/1c3dfb268c58b583ff93a5c4545bef6cce37a26b) add support for unix temp dirs - [`120b804`](https://github.com/amidaware/rmmagent/commit/120b804082b3081bd21cfa8a33254b74e8282d63) fix tmpdir setting naming scheme ### 📊 Changes **8 files changed** (+44 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `agent/agent.go` (+2 -0) 📝 `agent/agent_unix.go` (+3 -2) 📝 `agent/install.go` (+3 -2) 📝 `agent/install_unix.go` (+3 -1) 📝 `agent/install_windows.go` (+8 -1) 📝 `agent/utils.go` (+22 -5) 📝 `main.go` (+2 -0) 📝 `shared/types.go` (+1 -0) </details> ### 📄 Description As discussed in a previous pull request (#55), here is a new patch that allows setting an optional tmpdir for Unix hosts. The functionality also exists for Windows hosts, however it is not been fully implemented. My use case is primarily for NixOS systems. This does not change the default / existing functionality. It adds a new flag for the installer (`-tmpdir`), and a new config option in the `/etc/tacticalagent` file for a `tmpdir`. Fixes #39 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem closed this issue 2026-03-02 02:13:03 +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/rmmagent#65
No description provided.