summaryrefslogtreecommitdiff
path: root/README.md
blob: 7cd7dedd900d473a6880828176ad79ea820b4ed9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# daemonize
A utility to send shell commands to the background.

### Quick Install
```
curl -s https://raw.githubusercontent.com/cflem/daemonize/master/daemonize.c | gcc -xc -o daemonize -
sudo mv daemonize /usr/bin
```

### Usage
```
daemonize <command> [--chdir] [--noclose]
```
__command__: *(Required)* The command to execute as a daemon.

__noclose__: *(Optional)* Leaves streams to the current terminal session open.

__chdir__: *(Optional)* Changes directory to / before executing <command>