Matteo Scandolo | aca8665 | 2017-08-08 13:05:27 -0700 | [diff] [blame] | 1 | # Copyright 2017-present Open Networking Foundation |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | |
Scott Baker | 645c0c5 | 2017-09-15 10:38:32 -0700 | [diff] [blame] | 16 | # Upstart script for vSG |
| 17 | description "vSG container" |
| 18 | author "andy@opennetworking.org" |
Scott Baker | 761e106 | 2016-06-20 17:18:17 -0700 | [diff] [blame] | 19 | start on filesystem and started docker |
| 20 | stop on runlevel [!2345] |
| 21 | respawn |
| 22 | |
| 23 | script |
Scott Baker | 645c0c5 | 2017-09-15 10:38:32 -0700 | [diff] [blame] | 24 | /usr/local/sbin/start-vsg-{{ s_tags[0] }}-{{ c_tags[0] }}.sh |
Scott Baker | 761e106 | 2016-06-20 17:18:17 -0700 | [diff] [blame] | 25 | end script |