blob: 817d6d7233fe0876bc9ffe2d25b7b2d3f88aee98 [file] [log] [blame]
Scott Bakerb63ea792016-08-11 10:24:48 -07001[Unit]
2Description={{ container_name }}
3After=docker.service
4
5[Service]
6ExecStart=/bin/bash -c "/usr/local/sbin/start-container-{{ container_name }}.sh ATTACH"
7ExecStop=/bin/bash -c "/usr/local/sbin/stop-container-{{ container_name }}.sh"
8SuccessExitStatus=0 137
9
10[Install]
11WantedBy=multi-user.target