| 1 | package App::VW::Start; | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | use base 'App::VW::Command'; | ||
| 5 | |||
| 6 | sub run { | ||
| 7 | my ($self) = @_; | ||
| 8 | system("/etc/init.d/vw start"); | ||
| 9 | } | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | App::VW::Start - start all configured Squatting apps | ||
| 16 | |||
| 17 | =head1 SYNOPSIS | ||
| 18 | |||
| 19 | Usage: | ||
| 20 | |||
| 21 | vw start | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This is a wrapper around: | ||
| 26 | |||
| 27 | /etc/init.d/vw start | ||
| 28 | |||
| 29 | =cut |