Skip to content

Use systemd to start the agent in the gcp-linux template #2178

Closed
@spikecurtis

Description

@spikecurtis

The example gcp-linux template executes the coder agent in a startup script as root.

This results, among other things, in the developer being root in their workspace when they SSH in, which is not a great experience.

We should:

  • Run as a normal user
  • Start the agent via systemd to set up standard environment, use journal for logging, etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiArea: HTTP APIsiteArea: frontend dashboard

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions