Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: perf/setup/sys/ingest_init

Issue 813803003: Adjusted flags in ingest_init (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /bin/sh 1 #! /bin/sh
2 ### BEGIN INIT INFO 2 ### BEGIN INIT INFO
3 # Provides: ingest 3 # Provides: ingest
4 # Required-Start: $remote_fs $syslog 4 # Required-Start: $remote_fs $syslog
5 # Required-Stop: $remote_fs $syslog 5 # Required-Stop: $remote_fs $syslog
6 # Default-Start: 2 3 4 5 6 # Default-Start: 2 3 4 5
7 # Default-Stop: 0 1 6 7 # Default-Stop: 0 1 6
8 # Short-Description: Start ingest. 8 # Short-Description: Start ingest.
9 # Description: Moves Google Storage data into Tiles. 9 # Description: Moves Google Storage data into Tiles.
10 ### END INIT INFO 10 ### END INIT INFO
11 11
12 # Author: Joe Gregorio <jcgregorio@google.com> (copied by Kelvin Ly) 12 # Author: Joe Gregorio <jcgregorio@google.com> (copied by Kelvin Ly)
13 # 13 #
14 # Copied from /etc/init.d/skeleton and modified only the following 14 # Copied from /etc/init.d/skeleton and modified only the following
15 # environment variables and updated the start-stop-daemon calls 15 # environment variables and updated the start-stop-daemon calls
16 # in do_start() to add --make-pidfile, --background, and --chuid. 16 # in do_start() to add --make-pidfile, --background, and --chuid.
17 17
18 # Do NOT "set -e" 18 # Do NOT "set -e"
19 19
20 # PATH should only include /usr/* if it runs after the mountnfs.sh script 20 # PATH should only include /usr/* if it runs after the mountnfs.sh script
21 PATH=/sbin:/usr/sbin:/bin:/usr/bin 21 PATH=/sbin:/usr/sbin:/bin:/usr/bin
22 DESC="The Skia JSON ingest application." 22 DESC="The Skia JSON ingest application."
23 NAME=ingest 23 NAME=ingest
24 DAEMON=/home/perf/golib/bin/$NAME 24 DAEMON=/home/perf/golib/bin/$NAME
25 DATA_DIR="/mnt/pd0/data" 25 DATA_DIR="/mnt/pd0/data"
26 DAEMON_ARGS="--git_repo_dir=$DATA_DIR/skia --log_dir=/mnt/pd0/glog --tile_dir=$D ATA_DIR/tileStore3 --timestamp_file=$DATA_DIR/ingestTimestamp3.json --run=golden ,nano,nano-trybot " 26 DAEMON_ARGS="--git_repo_dir=$DATA_DIR/skia --log_dir=/mnt/pd0/glog --tile_dir=$D ATA_DIR/tileStore3 --run=golden,nano,nano-trybot "
27 PIDFILE=/var/run/$NAME.pid 27 PIDFILE=/var/run/$NAME.pid
28 SCRIPTNAME=/etc/init.d/$NAME 28 SCRIPTNAME=/etc/init.d/$NAME
29 29
30 # Exit if the package is not installed 30 # Exit if the package is not installed
31 [ -x "$DAEMON" ] || exit 0 31 [ -x "$DAEMON" ] || exit 0
32 32
33 # Read configuration variable file if it is present 33 # Read configuration variable file if it is present
34 [ -r /etc/default/$NAME ] && . /etc/default/$NAME 34 [ -r /etc/default/$NAME ] && . /etc/default/$NAME
35 35
36 # Load the VERBOSE setting and other rcS variables 36 # Load the VERBOSE setting and other rcS variables
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 esac 151 esac
152 ;; 152 ;;
153 *) 153 *)
154 #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2 154 #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
155 echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 155 echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
156 exit 3 156 exit 3
157 ;; 157 ;;
158 esac 158 esac
159 159
160 : 160 :
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698