Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

jon2kx

🎯
Focusing
Block or report user

Report or block jon2kx

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jon2kx
jon2kx / skeleton-daemon.sh
Created Feb 22, 2017 — forked from shawnrice/skeleton-daemon.sh
A template to write a quick daemon as a bash script
View skeleton-daemon.sh
#!/bin/sh
# This is a skeleton of a bash daemon. To use for yourself, just set the
# daemonName variable and then enter in the commands to run in the doCommands
# function. Modify the variables just below to fit your preference.
daemonName="DAEMON-NAME"
pidDir="."
pidFile="$pidDir/$daemonName.pid"
You can’t perform that action at this time.