diff options
| author | Carson Fleming <cflems@cflems.net> | 2017-08-18 10:31:29 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-18 10:31:29 -0700 |
| commit | 19540108aa204f854f8ea12b63ea863bc8bc20dd (patch) | |
| tree | 6c48c43c958452a595a1742a22ba54e5857146a7 | |
| parent | 5e1b36e5c7f3d109a90e025620cdae5fa1b836cf (diff) | |
| download | daemonize-19540108aa204f854f8ea12b63ea863bc8bc20dd.tar.gz | |
Added instant install instructions by platform; switched github url
| -rw-r--r-- | README.md | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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. |
