Skip to content

Instantly share code, notes, and snippets.

View jeeshofone's full-sized avatar
💭
💁‍♀️

Will Laws jeeshofone

💭
💁‍♀️
View GitHub Profile
@jeeshofone
jeeshofone / skeleton-daemon.sh
Created October 30, 2017 18:23 — forked from antonc42/skeleton-daemon.sh
A template to write a quick daemon as a bash script
#!/bin/bash
# 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"
myPid=$$
pidDir="."