(self)
| 1137 | |
| 1138 | class LogRotate(): |
| 1139 | def __init__(self): |
| 1140 | self.conf_file_path = os.path.join(os.getcwd(), 'logrotate.conf') |
| 1141 | self.state_file_path = os.path.join(os.getcwd(), 'logrotate.state') |
| 1142 | |
| 1143 | def run_logrotate(self): |
| 1144 | remote.run(args=['logrotate', '-f', self.conf_file_path, '-s', |