forked from Lainports/freebsd-ports
This adds support for "sessions", aka. creating a remote shell via the Agent. In order to support this, an "ssm-user" account is created when the package is installed; we create this via pkg-install rather than the USERS= / UIDs functionality, since ssm-user needs to be in wheel and needs to have a home directory. Thanks to: Alexey Milevsky
20 lines
895 B
Go
20 lines
895 B
Go
--- agent/appconfig/constants_unix.go.orig 2019-05-08 20:19:03 UTC
|
|
+++ agent/appconfig/constants_unix.go
|
|
@@ -53,7 +53,7 @@ const (
|
|
DownloadRoot = "/var/log/amazon/ssm/download/"
|
|
|
|
// DefaultDataStorePath represents the directory for storing system data
|
|
- DefaultDataStorePath = "/var/lib/amazon/ssm/"
|
|
+ DefaultDataStorePath = "/var/run/amazon/ssm/"
|
|
|
|
// EC2ConfigDataStorePath represents the directory for storing ec2 config data
|
|
EC2ConfigDataStorePath = "/var/lib/amazon/ec2config/"
|
|
@@ -95,7 +95,7 @@ const (
|
|
var PowerShellPluginCommandName string
|
|
|
|
// DefaultProgramFolder is the default folder for SSM
|
|
-var DefaultProgramFolder = "/etc/amazon/ssm/"
|
|
+var DefaultProgramFolder = "/usr/local/etc/amazon/ssm/"
|
|
var DefaultDocumentWorker = "/usr/bin/ssm-document-worker"
|
|
var DefaultSessionWorker = "/usr/bin/ssm-session-worker"
|
|
var DefaultSessionLogger = "/usr/bin/ssm-session-logger"
|