git: 639c5484460a - main - sysutils/amazon-ssm-agent: Add missing $PATH
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 Dec 2021 05:18:11 UTC
The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/ports/commit/?id=639c5484460ad18b8acfe8d259f2ef08158438ba commit 639c5484460ad18b8acfe8d259f2ef08158438ba Author: Colin Percival <cperciva@FreeBSD.org> AuthorDate: 2021-12-18 05:11:53 +0000 Commit: Colin Percival <cperciva@FreeBSD.org> CommitDate: 2021-12-18 05:14:39 +0000 sysutils/amazon-ssm-agent: Add missing $PATH The SSM Agent can be used to effect a login shell; set $PATH appropriately for interactive logins. PR: 260476 Reported by: amendlik at gmail Sponsored by: https://www.patreon.com/cperciva --- sysutils/amazon-ssm-agent/Makefile | 2 +- sysutils/amazon-ssm-agent/files/amazon-ssm-agent.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sysutils/amazon-ssm-agent/Makefile b/sysutils/amazon-ssm-agent/Makefile index 0c10138767f8..9bdd24ef864d 100644 --- a/sysutils/amazon-ssm-agent/Makefile +++ b/sysutils/amazon-ssm-agent/Makefile @@ -1,6 +1,6 @@ PORTNAME= amazon-ssm-agent PORTVERSION= 2.3.1205.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= cperciva@FreeBSD.org diff --git a/sysutils/amazon-ssm-agent/files/amazon-ssm-agent.in b/sysutils/amazon-ssm-agent/files/amazon-ssm-agent.in index b0b8fc96185e..b4ffe6487d13 100644 --- a/sysutils/amazon-ssm-agent/files/amazon-ssm-agent.in +++ b/sysutils/amazon-ssm-agent/files/amazon-ssm-agent.in @@ -17,6 +17,7 @@ rcvar=amazon_ssm_agent_enable load_rc_config $name : ${amazon_ssm_agent_enable="NO"} +: ${amazon_ssm_agent_env="PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ssm-user/bin"} pidfile="/var/run/${name}.pid" command="/usr/sbin/daemon"