README.md in foreground-0.0.4 vs README.md in foreground-0.1.0
- old
+ new
@@ -25,10 +25,10 @@
## Usage
Wrap your daemon command inside your launchd.plist:
- foreground --pid_file /tmp/foreground_sample_daemon.pid foreground_sample_daemon
+ foreground --pid_file /tmp/foreground_sample_daemon.pid --command "foreground_sample_daemon --with arguments"
## Limitations
You can't control the daemons stdout, stderr, etc. this way, because the daemon will probably manage this stuff itself.