Skip to content

suijunqiang/daemon.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Readme

A simple daemon impliment by shell on Linux. You are able to change the process as you want easly by a MACRO

Principle

use ps cmd to find your process is alive/multi/zombi and to restart it each 5 seconds

Customize

It's easy to changing/cusomizing/running.

example:

  if you want daemon you AAA, just change PRO_NAME_EMQX as you AAA  such as /dir/AAA in daemon.sh

parameters

  how to pass parameters to AAA, such as /dir/AAA -d
  just change ${PRO_NAME_EMQX} to be ${PRO_NAME_EMQX} -d

About

A simple daemon impliment by shell on Linux. You are able to change the process as you want easly by a MACRO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages