package org.jeecg.modules.adweb.common.constant;

/**
 * class
 *
 * @author 马娟娟
 * @date 2019/8/26 0026 17:29
 * @Description
 */
public class ShellConstans {

    /**
     * 站点备份shell脚本常量
     */
    public interface BackupSite {

        public final static String ERROR = "[ERROR]";

        public final static String BACKUPCOMPLETE = "[BACKUPCOMPLETE]";

        public final static String BACKUP_PATH = "[BACKUP_PATH]";

        public final static String BACKUP_SIZE = "[BACKUP_SIZE]";

        public final static String BACKUP_RESULT = "[BACKUP_RESULT]";

    }

    /**
     * 站点内存空间监控
     */
    public interface SiteSize {

        public final static String WEBSITE_DISK = "**website_disk**";

    }

    /**
     * 服务内存空间监控
     */
    public interface ServerSize {

        public final static String SERVER_DISK = "**server_disk**";

        public final static String SERVER_MEM = "**server_mem**";

        public final static String SERVER_CPU = "**server_cpu**";

    }

    /**
     * 磁盘常量
     */
    public final static Integer DISK_NUM = 70;
    /**
     * CPU常量
     */
    public final static Integer CPU_NUM = 80;
    /**
     * 内存常量
     */
    public final static Integer MEMORY_NUM = 80;

    public final static String SUCCESS_INFO = "[UPDATECOMPLETE]";

    /**
     * 自动添加SSL
     */
    public interface addSsl {
        public final static String START_CERT = "[start cert.pem]";
        public final static String END_CERT = "[end cert.pem]";
        public final static String START_PRIVKEY = "[start privkey.pem]";
        public final static String END_PRIVKEY = "[end privkey.pem]";
        public final static String START_CHAIN = "[start chain.pem]";
        public final static String END_CHAIN = "[end chain.pem]";
        public final static String IS_ERROR_INFO = "[EXIST]";
        public final static String NULL_ERROR_INFO = "[NONEXIST]";
        public final static String DATE_TIME = "[LASTMTIME]";
    }


}
