Skip to content

Commit

Permalink
Added a node module template
Browse files Browse the repository at this point in the history
  • Loading branch information
VentGrey committed May 13, 2020
1 parent e5565ad commit 276894d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions breeds/Node
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash

# shellcheck source=../lib/requiem

function help {
cat <<__EOF__
# This module is "Testing"
usage: orcd node [ on | off | restart | debug | new | del ]
on: Turns on a docker container
off: Turns off a docker container
restart: Restarts a given container
debug: Use systemd to debug the nginx service
new: Writes a new server block under /etc/nginx/sites-available/
del: Deletes a server block under /etc/nginx/sites-available/
__EOF__
}

echo "This module doesn't work yet."
exit 1

source "$( dirname "${BASH_SOURCE[0]}" )/../lib/requiem"

0 comments on commit 276894d

Please sign in to comment.