Archer::Plugin::Exec::Remote -
- module: Exec::Remote config: name: restart user: root command: "if [ -e /etc/init.d/apache ] ; then /etc/init.d/apache stop; sleep 6; /etc/init.d/apache start; fi" type: app
should be use in 'process' phase?
use Net::SSH::Perl
To install Archer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Archer
CPAN shell
perl -MCPAN -e shell install Archer
For more information on module installation, please visit the detailed CPAN module installation guide.