From 19540108aa204f854f8ea12b63ea863bc8bc20dd Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Fri, 18 Aug 2017 10:31:29 -0700 Subject: Added instant install instructions by platform; switched github url --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'README.md') 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 [--chdir] [--noclose] ``` __command__: *(Required)* The command to execute as a daemon. -- cgit v1.2.3