Run bash script as daemon

linux - Run bash script as daemon - Stack Overflow https://stackoverflow.com/questions/19233529/run-bash-script-as-daemon


# By default Redis does not run as a daemon. Use 'yes' if you need it.
# Note that Redis will write a pid file in /var/run/redis.pid when daemonized.
daemonize no

原文地址:https://www.cnblogs.com/rsapaper/p/9052720.html