# python-headless **Repository Path**: AJianY/python-headless ## Basic Information - **Project Name**: python-headless - **Description**: python 获取视频时长脚本 - **Primary Language**: Python - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-21 - **Last Updated**: 2024-04-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 创建新应用 - 在html文件夹下放入对应的html文件 - 手动执行python查看效果 /usr/local/python3/bin/python3 /home/wwwroot/python-headless/webdriver.py zhipei-on-course-test 2 true - 更新项目描述: html文件夹下的PROJECT.md - 生成应用配置 - 重载supervisor配置 # 配置环境变量的命令 ```sh ./egg -S ``` # 生成应用配置 ```sh export APP_NAME= ./egg -C ``` # 重载supervisor配置 ```sh ./egg -R ``` # supervisor命令 ```sh systemctl restart supervisord 重启守护进程 systemctl stop supervisord 关闭守护进程 supervisorctl status 查看守护进程状态 supervisorctl restart [应用名] 重启指定守护进程 supervisorctl start [应用名] 启动指定守护进程 supervisorctl stop [应用名] 关闭指定守护进程 supervisorctl update 更新守护进程配置信息 supervisorctl reload 重新启动配置中的所有程序 ```