[tor-bugs] #20681 [Metrics/Onionoo]: Remove Onionoo's lock file

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 16 10:33:40 UTC 2016


#20681: Remove Onionoo's lock file
-----------------------------+------------------------------
 Reporter:  karsten          |          Owner:  metrics-team
     Type:  enhancement      |         Status:  new
 Priority:  Medium           |      Milestone:
Component:  Metrics/Onionoo  |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+------------------------------

Comment (by karsten):

 Great, I'll remove it from the code, unless you comment here in the next
 30 minutes saying you'll do it. :)

 Ah, by start script I meant the `@reboot` crontab line which weasel just
 turned into a little script on the server.  Here it is:

 {{{
 #!/bin/bash

 set -e

 if [ "$(id -u -n)" != "onionoo" ]; then
   echo >&2 "This script should be run as onionoo."
   exit 1
 fi

 cd /srv/onionoo.torproject.org/onionoo/
 java -Xmx4g -DLOGBASE=/srv/onionoo.torproject.org/onionoo/ -jar
 dist/onionoo-3.1.1.jar &
 disown
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20681#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list