Changes
Page history
fixd docs for v2
authored
Apr 17, 2014
by
Janez K
Show whitespace changes
Inline
Side-by-side
daemon.markdown
View page @
cfb9263e
...
...
@@ -31,14 +31,24 @@ serverurl=http://127.0.0.1:9001 ; use an http:// url to specify an inet socket
username
=
manorastroman
;
should be same as http_username
if
set
password
=
kingofthedragonmen
;
should be same as http_password
if
set
[
program:tap]
command
=
tap
--consumer-key
CONSUMERKEY
--consumer-secret
CONSUMERSECRET
-q
"
janez kranjc
"
-v
DEBUG
stdout_logfile
=
tap.log
[
program:tap
search
]
command
=
tap
search
--consumer-key
CONSUMERKEY
--consumer-secret
CONSUMERSECRET
-q
"
miley cyrus
"
-v
DEBUG
stdout_logfile
=
tap
_search
.log
stderr_logfile
=
tap_err.log
autostart
=
true
autorestart
=
true
startsecs
=
10
stopwaitsecs
=
10
[
program:tapstream]
command
=
tap stream
--consumer-key
CONSUMERKEY
--consumer-secret
CONSUMERSECRET
--access-token
ACCESSTOKEN
--access-token-secret
ACCESSTOKENSECRET
--track
"miley cyrus"
-v
DEBUG
stdout_logfile
=
tap_stream.log
stderr_logfile
=
tap_stream_err.log
autostart
=
true
autorestart
=
true
startsecs
=
10
stopwaitsecs
=
10
```
Afterwards you can start the daemon like this (you must be in the same folder as supervisord.conf or your supervisord.conf must be /etc/)
...
...
@@ -59,7 +69,11 @@ supervisorctl status
Or see the tail of the logs (log file locations can be setup in supervisord.conf)
```
bash
supervisorctl
tail
tap
supervisorctl
tail
tapsearch
```
```
bash
supervisorctl
tail
tapstream
```
Whenever you feel like shutting it down
...
...
...
...