A script for installation service

tangs f9805f786c 更新 'README.md' 6 年之前
README.md f9805f786c 更新 'README.md' 6 年之前
install.sh d23f1d1d68 添加卸载服务脚本 6 年之前
server.sh c2d6a70bcb stop 方法又被加上exit了,配置启动路径判断错误 6 年之前
uninstall.sh d23f1d1d68 添加卸载服务脚本 6 年之前

README.md

script

A script for installation service

About Script: It's a sample scipt to install/uninstall the server on Ubuntu.

#### Install the service
Usage:
    ./install.sh -u tangs -e /tmp/yourExec -n yourServiceName -d /home/tangs/yourServiceStartDir
    
#### Uninstall the service
Usage:
    ./uninstall.sh -n yourServiceName
    
`./install.sh --help` or `./uninstall.sh --help` for detail.
	

Developing

  • Uninstall the server
  • Server start on booting