04 2018 档案
摘要:#!/bin/bash src=/data/ # 需要同步的源路径 des=data # 目标服务器上 rsync --daemon 发布的名称,rsync --daemon这里就不做介绍了,网上搜一下,比较简单。 rsync_passwd_file=/etc/rsyncd.pas...
阅读全文
摘要:一、配置inotify随机启动 二、inotify同步脚本
阅读全文
摘要:temp.yaml env
阅读全文
摘要:#!/usr/bin/python #coding:utf-8 """ """ import sys,os from contextlib import nested def MergeEnvFile(newfile,oldfile): with nested(open(newfile,'a'), open(oldfile, 'r')) as (new_file, old_file) ...
阅读全文

浙公网安备 33010602011771号