Skip to content

Instantly share code, notes, and snippets.

Avatar

Shawn Patrick Rice shawnrice

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am shawnrice on github.
  • I am shawnrice (https://keybase.io/shawnrice) on keybase.
  • I have a public key ASAXHHClvO-w06Lf0UXO_uRL7iHbDqqw7HfQz6hK6uzA0wo

To claim this, I am signing this object:

@shawnrice
shawnrice / skeleton-daemon.sh
Created Apr 19, 2014
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.