mirror of
https://github.com/amidaware/rmmagent.git
synced 2026-04-26 06:45:48 +03:00
[PR #64] [MERGED] Define Custom Temp Directory for Unix Hosts #65
Labels
No labels
bug
bug
enhancement
fixed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rmmagent#65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
develop← Head:unix-directory📝 Commits (2)
1c3dfb2add support for unix temp dirs120b804fix 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/tacticalagentfile for atmpdir.Fixes #39
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.