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
skeleton-daemon.sh [2025/07/20 17:58] – old revision restored (2025/03/02 00:44) 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 1: Line 1:
-''+
 #!/bin/sh #!/bin/sh
  
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.
Line 191: Line 188:
  
 exit 0 exit 0
-''+
skeleton-daemon.sh.1753034300.txt.gz · Last modified: by 114.119.142.20

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki