Lines Matching refs:chroot
172 chroot = self._chroot
173 chroot.add_root_directories(self.ROOT_DIRECTORIES)
174 chroot.add_config_templates(self.IPSEC_COMMON_CONFIGS)
175 chroot.add_config_templates(self.IPSEC_TYPED_CONFIGS[self._auth_type])
176 chroot.add_config_values({
187 chroot.add_startup_command('%s start' % self.IPSEC_COMMAND)
188 chroot.add_startup_command('%s -c /%s -C /tmp/l2tpd.control' %
191 chroot.startup()
196 chroot = self._chroot
197 chroot.run([self.IPSEC_COMMAND, 'stop'], ignore_status=True)
198 chroot.kill_pid_file(self.XL2TPD_PID_FILE, missing_ok=True)
199 chroot.kill_pid_file(self.PPPD_PID_FILE, missing_ok=True)
200 chroot.shutdown()
265 chroot = self._chroot
266 chroot.add_root_directories(self.ROOT_DIRECTORIES)
268 chroot.add_config_templates(self.CONFIGURATION)
285 chroot.add_config_values(config_values)
286 chroot.add_startup_command('chmod 755 %s' % self.AUTHENTICATION_SCRIPT)
287 chroot.add_startup_command('%s --config /%s &' %
291 chroot.startup()
307 chroot = self._chroot
308 chroot.kill_pid_file(self.OPENVPN_PID_FILE, missing_ok=True)
309 chroot.shutdown()