blob: 7cbb88019f73c6e5cc2d6197c5b8eae1e2ff64b0 [file] [log] [blame]
Scott Bakerb63ea792016-08-11 10:24:48 -07001# Upstart script for container
2description "container"
3author "smbaker@gmail.com"
4start on filesystem and started docker
5stop on runlevel [!2345]
6respawn
7
8script
9 /usr/local/sbin/start-container-{{ container_name }}.sh ATTACH
10end script
11
12post-stop script
13 /usr/local/sbin/stop-container-{{ container_name }}.sh
14end script