Skip to content

Instantly share code, notes, and snippets.

@shanna
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shanna/a4265c223e9fea817049 to your computer and use it in GitHub Desktop.
Save shanna/a4265c223e9fea817049 to your computer and use it in GitHub Desktop.
BuildKite Systemd Target

BuildKite Systemd Target

Debian Jessie buildkite agent when networking is up.

/etc/systemd/system/buildkite-agent.service

[Unit]
Description=BuildKite Agent
Requires=network-online.target
After=network-online.target
[Service]
User=ci
Restart=on-failure
ExecStart=/home/ci/.buildkite/buildkite-agent start --token ... --meta-data firmware-ci=1
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment