Skip to content

Instantly share code, notes, and snippets.

@lucazz
Created September 30, 2016 14:38
Show Gist options
  • Save lucazz/3fcfa2ba1b7d48a89c24c5aae62dee2e to your computer and use it in GitHub Desktop.
Save lucazz/3fcfa2ba1b7d48a89c24c5aae62dee2e to your computer and use it in GitHub Desktop.
- name: provisioning.service
command: start
content: |
[Unit]
Description=Provisioning whatever is needed prior to starting TeamCity's containers
[Service]
Type=oneshot
ExecStartPre=-/bin/sh -c "mkdir /var/lib/teamcity;"
ExecStart=/bin/sh -c "echo Provisioning complete;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment