Bitcoin Forum
November 19, 2017, 09:02:05 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: request: -server -no-detach (or -nogui) option  (Read 1281 times)
bitcoinex
Sr. Member
****
Offline Offline

Activity: 350


probiwon.com


View Profile WWW
August 07, 2010, 01:30:11 AM
 #1

This option can be useful when you start the server from inittab with respawn option, to be sure that server works, even if a bug or OOM killer from kernel will force server to crash.

Just to ensure continuity of customer service

New bitcoin lottery: probiwon.com
- Может, ты ещё и в Невидимую Руку Рынка веруешь? - Зачем же веровать в то, что можно наблюдать непосредственно?
1511082125
Hero Member
*
Offline Offline

Posts: 1511082125

View Profile Personal Message (Offline)

Ignore
1511082125
Reply with quote  #2

1511082125
Report to moderator
1511082125
Hero Member
*
Offline Offline

Posts: 1511082125

View Profile Personal Message (Offline)

Ignore
1511082125
Reply with quote  #2

1511082125
Report to moderator
Join ICO Now Coinlancer is Disrupting the Freelance marketplace!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511082125
Hero Member
*
Offline Offline

Posts: 1511082125

View Profile Personal Message (Offline)

Ignore
1511082125
Reply with quote  #2

1511082125
Report to moderator
1511082125
Hero Member
*
Offline Offline

Posts: 1511082125

View Profile Personal Message (Offline)

Ignore
1511082125
Reply with quote  #2

1511082125
Report to moderator
1511082125
Hero Member
*
Offline Offline

Posts: 1511082125

View Profile Personal Message (Offline)

Ignore
1511082125
Reply with quote  #2

1511082125
Report to moderator
throughput
Full Member
***
Offline Offline

Activity: 158


View Profile
August 09, 2010, 01:22:32 PM
 #2

Double that!

Let the sysadmin decide whether to detach the process or not.
man nohup
will save you a lot of code!
d1337r
Member
**
Offline Offline

Activity: 112



View Profile
August 10, 2010, 06:56:23 AM
 #3

There is bitcoind, the headless client, which can be used as a server. Or you mean "make something like 'if bitcoind crashes, restart it automatically?'"?

❘|❘ VECTOR ❘|❘ $600,000 raised in 12 minutes LINK TO ICO | LINK TO WHITEPAPER
throughput
Full Member
***
Offline Offline

Activity: 158


View Profile
August 10, 2010, 08:54:54 AM
 #4

There is bitcoind, the headless client, which can be used as a server. Or you mean "make something like 'if bitcoind crashes, restart it automatically?'"?

He asks for a option for a bitcoind to not fork upon execution and not try to daemonize itself. Believe that or not, daemonizing feature is external to almost any application on UNIX.
Applications that always daemonize require ugly hacks, like that described here http://cr.yp.to/daemontools/fghack.html to run them in more manageable way, than just manually from a command line.

Use case: restart bitcoind instantly as soon as it or the whole system crashes (and reboots).
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!