File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -318,8 +318,8 @@ func (a *agent) handleSSHSession(session ssh.Session) error {
318
318
executablePath = strings .ReplaceAll (executablePath , "\\ " , "/" )
319
319
cmd .Env = append (cmd .Env , fmt .Sprintf (`GIT_SSH_COMMAND=%s gitssh --` , executablePath ))
320
320
// These prevent the user from having to specify _anything_ to successfully commit.
321
- cmd .Env = append (cmd .Env , fmt .Sprintf (`GIT_COMMITTER_EMAIL =%s` , a .ownerEmail .Load ()))
322
- cmd .Env = append (cmd .Env , fmt .Sprintf (`GIT_COMMITTER_NAME =%s` , a .ownerUsername .Load ()))
321
+ cmd .Env = append (cmd .Env , fmt .Sprintf (`GIT_AUTHOR_EMAIL =%s` , a .ownerEmail .Load ()))
322
+ cmd .Env = append (cmd .Env , fmt .Sprintf (`GIT_AUTHOR_NAME =%s` , a .ownerUsername .Load ()))
323
323
324
324
// Load environment variables passed via the agent.
325
325
// These should override all variables we manually specify.
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ SecureBits=keep-caps
18
18
AmbientCapabilities =CAP_IPC_LOCK
19
19
CacheDirectory =coder
20
20
CapabilityBoundingSet =CAP_SYSLOG CAP_IPC_LOCK CAP_NET_BIND_SERVICE
21
+ KillSignal =SIGINT
21
22
NoNewPrivileges =yes
22
23
ExecStart =/usr/bin/coder server
23
24
Restart =on-failure
You can’t perform that action at this time.
0 commit comments