# hyperf.py **Repository Path**: kamon/hyperf.py ## Basic Information - **Project Name**: hyperf.py - **Description**: 一个基于python的hyperf进程管理脚本 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-08-27 - **Last Updated**: 2022-08-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: hyperf ## README # hyperf.py #### 介绍 一个基于python的hyperf进程管理脚本 #### 使用说明 1. 计划任务监控运行,当进程挂掉自动重新启动 ```* * * * * www /var/www/xxxxxxx/hyperf_project1/bin/hyperf.py > /dev/null 2>&1``` 2. 放到环境变量中方便操作 ``` ln -s /var/www/xxxxxxx/hyperf_project1/bin/hyperf.py ~/bin/hyperf_project1.py #使用 hyperf_project1.py restart #重新启动进程 hyperf_project1.py stop #停止进程 ``` ![效果](image.png)