Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

DarklyAutumnClad

🏠
Working from home
  • Spatial Grid 235, Sector 001, Terrestrial Object 3, 35.9N, -78.8W (NW Hemisphere)
View GitHub Profile
@DarklyAutumnClad
DarklyAutumnClad / 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.