summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCarson Fleming <cflems@cflems.net>2017-08-18 10:31:29 -0700
committerGitHub <noreply@github.com>2017-08-18 10:31:29 -0700
commit19540108aa204f854f8ea12b63ea863bc8bc20dd (patch)
tree6c48c43c958452a595a1742a22ba54e5857146a7 /README.md
parent5e1b36e5c7f3d109a90e025620cdae5fa1b836cf (diff)
downloaddaemonize-19540108aa204f854f8ea12b63ea863bc8bc20dd.tar.gz
Added instant install instructions by platform; switched github url
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/README.md b/README.md
index 7cd7ded..c84a4f2 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,18 @@
# daemonize
A utility to send shell commands to the background.
-### Quick Install
+### Instant Install
+Linux/BSD/\*nix other than OSX
+```bash
+curl -s https://raw.githubusercontent.com/cflems/daemonize/master/daemonize.c | sudo gcc -xc -o /usr/bin/daemonize -
```
-curl -s https://raw.githubusercontent.com/cflem/daemonize/master/daemonize.c | gcc -xc -o daemonize -
-sudo mv daemonize /usr/bin
+OSX
+```bash
+curl -s https://raw.githubusercontent.com/cflems/daemonize/master/daemonize.c | sudo gcc -xc -o /usr/local/bin/daemonize -
```
### Usage
-```
+```bash
daemonize <command> [--chdir] [--noclose]
```
__command__: *(Required)* The command to execute as a daemon.