mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2025-06-21 12:02:09 +10:00
start nginx for testing
This commit is contained in:
parent
f7c067b07e
commit
692d3fee7d
6 changed files with 733 additions and 173 deletions
|
@ -3,7 +3,8 @@ const { get: nodeCmd } = require('node-cmd');
|
|||
|
||||
const validateRsync = (callback = () => {}) => {
|
||||
const rsyncCli = commandExists('rsync');
|
||||
|
||||
console.log('⚠️ [CLI] Rsync doesn\'t exists. Start installation with "apt-get" \n');
|
||||
console.log('nodeCmd: ', nodeCmd);
|
||||
if (!rsyncCli) {
|
||||
nodeCmd(
|
||||
'sudo apt-get --no-install-recommends install rsync',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue