from utils.commands import exec

def upDocker(log):
    info = exec('ls -la', log)
    if info['status'] != 0:
        start = exec('systemctl start docker', log)
        if start['status'] != 0:
            pass
            # Notificar
            # exit

def upSamba(log):
    retr = exec('ping -c1 192.168.1.4', log)
    if retr['status'] != 0:
        exec('docker start samba', log)
cdb2058663f5ba9bfb0274216f0729401917ba6d
<mask token>

<mask token>


def upDocker(log):
    info = exec('ls -la', log)
    if info['status'] != 0:
        start = exec('systemctl start docker', log)
        if start['status'] != 0:
            pass


<mask token>

<mask token>


def upDocker(log):
    info = exec('ls -la', log)
    if info['status'] != 0:
        start = exec('systemctl start docker', log)
        if start['status'] != 0:
            pass


def upSamba(log):
    retr = exec('ping -c1 192.168.1.4', log)
    if retr['status'] != 0:
        exec('docker start samba', log)

from utils.commands import exec


def upDocker(log):
    info = exec('ls -la', log)
    if info['status'] != 0:
        start = exec('systemctl start docker', log)
        if start['status'] != 0:
            pass


def upSamba(log):
    retr = exec('ping -c1 192.168.1.4', log)
    if retr['status'] != 0:
        exec('docker start samba', log)

from utils.commands import exec

def upDocker(log):
    info = exec('ls -la', log)
    if info['status'] != 0:
        start = exec('systemctl start docker', log)
        if start['status'] != 0:
            pass
            # Notificar
            # exit

def upSamba(log):
    retr = exec('ping -c1 192.168.1.4', log)
    if retr['status'] != 0:
        exec('docker start samba', log)