package
Version:
v1.0.10
Opens a new window with list of versions in this module.
Published: Aug 2, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Author: Landers
Github: Landers1037
Date: 2020-03
Name: blog
func RestartAPP(appName, appPid, appLog string)
RestartAPP 重启服务 先停止后启动
func StartAPP(appName, appPid, appLog string)
StartAPP start app using nohup
func StatusAPP(appName, appPid string)
StatusAPP 查看状态 基于pid文件
pid找不到才会去寻找程序自身
func StopAPP(appName, appPid string)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.