User Tools

Site Tools


skeleton-daemon.sh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
skeleton-daemon.sh [2025/07/20 09:14] – old revision restored (2023/11/08 13:07) 114.119.142.20skeleton-daemon.sh [2025/07/20 17:59] (current) – old revision restored (2023/11/30 14:48) 114.119.142.20
Line 5: Line 5:
 # daemonName variable and then enter in the commands to run in the doCommands # daemonName variable and then enter in the commands to run in the doCommands
 # function. Modify the variables just below to fit your preference. # function. Modify the variables just below to fit your preference.
- 
 daemonName="DAEMON-NAME" daemonName="DAEMON-NAME"
- 
 pidDir="." pidDir="."
- 
 pidFile="$pidDir/$daemonName.pid" pidFile="$pidDir/$daemonName.pid"
- 
 pidFile="$daemonName.pid" pidFile="$daemonName.pid"
- 
 logDir="." logDir="."
- 
 # To use a dated log file. # To use a dated log file.
 # logFile="$logDir/$daemonName-"`date +"%Y-%m-%d"`".log" # logFile="$logDir/$daemonName-"`date +"%Y-%m-%d"`".log"
skeleton-daemon.sh.1753002869.txt.gz · Last modified: by 114.119.142.20

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki