Skip to content

Agent as systemd service#120

Merged
lucaspin merged 13 commits intoself-hostedfrom
agent-as-systemd-service
Aug 9, 2021
Merged

Agent as systemd service#120
lucaspin merged 13 commits intoself-hostedfrom
agent-as-systemd-service

Conversation

@lucaspin
Copy link
Copy Markdown
Contributor

@lucaspin lucaspin commented Aug 9, 2021

No description provided.

@lucaspin lucaspin requested a review from shiroyasha August 9, 2021 12:40
@shiroyasha
Copy link
Copy Markdown
Contributor

I have a similar, but alternative proposal.

We could package up this script in the agent's tar.gz, and ask the users to run it to install the agent.

Pseudocode:

curl https://github.com/semaphoreci/agent/releases/download/v2.0.8/agent_Linux_x86_64.tar.gz -o agent.tar.gz
tar -idk_theflags agent.tar.gz
cd agent

sudo ./install --systemd

The benefits of this approach is that we can package up an install script into a versioned release. This way, the install command can evolve together with the release versions.

@lucaspin lucaspin merged commit e87bd28 into self-hosted Aug 9, 2021
@lucaspin lucaspin deleted the agent-as-systemd-service branch August 9, 2021 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants