Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #62656
| Path | csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.030 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; 'url:pypi': 0.03; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:script': 0.09; 'python': 0.11; '8bit%:32': 0.16; 'finney': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:python': 0.16; 'library': 0.18; 'starts': 0.20; 'header:User-Agent:1': 0.23; "aren't": 0.24; 'script': 0.25; 'header:X-Complaints-To:1': 0.27; 'rest': 0.29; 'kevin': 0.30; 'requests': 0.31; 'url:wiki': 0.31; 'peterson': 0.31; 'url:wikipedia': 0.31; 'writes:': 0.31; 'up.': 0.33; 'url:python': 0.33; '(e.g.': 0.33; '(i.e.': 0.33; 'but': 0.35; 'url:org': 0.36; 'should': 0.36; 'starting': 0.37; 'ben': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'up,': 0.60; "you're": 0.61; 'interest': 0.64; 'become': 0.64; 'skip:\xe2 10': 0.65; 'life': 0.66; 'facilities': 0.69; 'url:%1': 0.72; 'future,': 0.83; 'hunting!': 0.84; 'device.': 0.93; 'subject:Android': 0.93 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Ben Finney <ben+python@benfinney.id.au> |
| Subject | Re: Deamonify my python script on Android |
| Date | Tue, 24 Dec 2013 08:56:08 +1100 |
| References | <abcd1234abc123ab12a0000025744000010000001052@gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | rasputin.madmonks.org |
| X-Public-Key-ID | 0xAC128405 |
| X-Public-Key-Fingerprint | 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 |
| X-Public-Key-URL | http://www.benfinney.id.au/contact/bfinney-gpg.asc |
| X-Post-From | Ben Finney <bignose+hates-spam@benfinney.id.au> |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
| Cancel-Lock | sha1:ZRw5N4L5+HMZUrGnJLwe/VoJDrU= |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4576.1387835783.18130.python-list@python.org> (permalink) |
| Lines | 30 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1387835783 news.xs4all.nl 2907 [2001:888:2000:d::a6]:48970 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:62656 |
Show key headers only | View raw
Kevin Peterson <qh.resu01@gmail.com> writes: > I want to daemonify my python script on Android device. That is, it > should be automatically invoked on boot up. Those aren't the same thing. To daemonise a program is independent of whether the program starts automatically; it can start automatically without detaching (e.g. the process that requests a login) it can detach on request without starting automatically (e.g. any daemon started by a user), etc. If you want the program to start automatically on boot up, that's not a python question; you want to find out about the Android boot process and what facilities it has for starting a program on boot. But that's independent of Python and independent of daemonising the program. If you want to have a program become a daemon (i.e. a background process) <URL:https://en.wikipedia.org/wiki/Daemon_%28computing%29> the ‘python-daemon’ library is designed for this <URL:https://pypi.python.org/pypi/python-daemon/>. But that's nothing to do with automatic start-up, nor Android; you're on your own for those. Good hunting! -- \ “My interest is in the future, as I am going to spend the rest | `\ of my life there.” —Charles F. Kettering | _o__) | Ben Finney
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Deamonify my python script on Android Ben Finney <ben+python@benfinney.id.au> - 2013-12-24 08:56 +1100
csiph-web