I saw this conf file and felt funny that Amazon guys are launching rockets..hehe..
Quote:
# This configuration launches the KindleDocumentIndexerService on
# the note-taking E-reader devices while skipping execution on all
# other E-readers.
# To run the service on these remaining E-readers, remove the
# else statement (below).
pre-start script
source /etc/upstart/env
source /etc/upstart/functions
if [[ "$SHOULD_SKIP_X_PRELAUNCH" == "true" ]]; then
f_log I KindleDocumentIndexerService "[All systems engage...]"
else
# Do not launch the KindleSyncService
f_log I KindleDocumentIndexerService "[Skipping execution...]"
exit 1;
fi
end script
script
source /etc/upstart/env
source /etc/upstart/functions
f_log I KindleDocumentIndexerService "[Firing thrusters...]"
exec nice -n 19 /app/bin/KindleDocumentIndexerService
end script
|
Then I saw something (KindleSyncService) and was wondering. I found another file and I am laughing now...hehe..
Quote:
pre-start script
source /etc/upstart/env
source /etc/upstart/functions
if [ ! -f "${DEMO_FILE_PATH}" ]; then
f_log I KindleSyncService "[All systems engage...]"
else
# Do not launch the KindleSyncService
f_log I KindleSyncService "[Skipping execution...]"
exit 1;
fi
end script
script
source /etc/upstart/env
source /etc/upstart/functions
f_log I KindleSyncService "[Firing thrusters...]"
exec /app/bin/KindleSyncService
end script
|