Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

starting(7) [linux man page]

starting(7)						 Miscellaneous Information Manual					       starting(7)

NAME
starting - event signalling that a job is starting SYNOPSIS
starting JOB=JOB INSTANCE=INSTANCE [ENV]... DESCRIPTION
The starting event is generated by the Upstart init(8) daemon when a new instance of a job begins starting. The JOB environment variable contains the job name, and the INSTANCE environment variable contains the instance name which will be empty for single-instance jobs. init(8) will wait for all services started by this event to be running, all tasks started by this event to have finished and all jobs stopped by this event to be stopped before allowing the job to continue starting. This allows jobs to effectively insert themselves as dependencies of other jobs. The event is typically combined with the stopped(7) event by services. Job configuration files may use the export stanza to export environment variables from their own environment into the starting event. See init(5) for more details. EXAMPLE
A service that wishes to be running whenever another service would be running, started before and stopped after it, might use: start on starting apache stop on stopped apache A task that must be run before another task or service is started might use: start on starting postgresql SEE ALSO
started(7) stopping(7) stopped(7) init(5) Upstart 2009-07-09 starting(7)

Check Out this Related Man Page

starting(7)						 Miscellaneous Information Manual					       starting(7)

NAME
starting - event signalling that a job is starting SYNOPSIS
starting JOB=JOB INSTANCE=INSTANCE [ENV]... DESCRIPTION
The starting event is generated by the Upstart init(8) daemon when a new instance of a job begins starting. The JOB environment variable contains the job name, and the INSTANCE environment variable contains the instance name which will be empty for single-instance jobs. init(8) will wait for all services started by this event to be running, all tasks started by this event to have finished and all jobs stopped by this event to be stopped before allowing the job to continue starting. This allows jobs to effectively insert themselves as dependencies of other jobs. The event is typically combined with the stopped(7) event by services. Job configuration files may use the export stanza to export environment variables from their own environment into the starting event. See init(5) for more details. EXAMPLE
A service that wishes to be running whenever another service would be running, started before and stopped after it, might use: start on starting apache stop on stopped apache A task that must be run before another task or service is started might use: start on starting postgresql SEE ALSO
started(7) stopping(7) stopped(7) init(5) Upstart 2009-07-09 starting(7)
Man Page

15 More Discussions You Might Find Interesting

1. HP-UX

MC ServiceGaurd

I was just asked if I had any experience with MC ServiceGuard with HP-UX, when I used HP I didn't use it but I am curious about it and would like to see about learning it (it seems lots of HP jobs want experience with it.) Also is this a HP product or is it used on other types of *nix. Thanks for... (10 Replies)
Discussion started by: jwbrown
10 Replies

2. UNIX for Advanced & Expert Users

Apache22 not starting

I am getting this error message once I added some lines to a directive in my httpd.conf file. I double checked and made sure their weren't any typos Snytax error line 468 Invlaid command PerlHandler perhaps misspelled or defined by a module not included in the server configuration. Here is what I... (10 Replies)
Discussion started by: rbizzell
10 Replies

3. Shell Programming and Scripting

How to find the jobs running in background and stop

Hi All, I have requirement. I am running a job every 30mins. before starting the process, i need to check the process, if the process is still running then i need not trigger the process again, if it is not running then trigger the process again. I am using cron to trigger the shell script. Can... (7 Replies)
Discussion started by: srinivas_paluku
7 Replies

4. UNIX for Advanced & Expert Users

configure php with postgresql and apache

Hi, I'm trying to configure php4 to run alongside postgresql and apache. Postgres and apache are already installed and running, but I am getting an error when doing: host84:~/php-4.4.9#./configure --with-apache=/usr/local/apache --with-postgresql=/usr/local/pgsql loading cache ./config.cache... (5 Replies)
Discussion started by: sdbeng
5 Replies

5. Shell Programming and Scripting

Number with starting zero

Hello, How to check if any number (or string) starting with zero (0)? if it starts with zero, how to remove the starting zero? TIA, Prvn (5 Replies)
Discussion started by: prvnrk
5 Replies

6. UNIX for Dummies Questions & Answers

Reinstall Solaris?

Hey! I'm new here, and excuse my complete lack of knowledge as a total newbie. I've recently started a new job managing a nightclub, and we have 3 sun terminals installed that customers are able to use in the lounge area. However, we can't seem to log onto them as the old tech guy left on bad... (5 Replies)
Discussion started by: snogthefrog
5 Replies

7. Shell Programming and Scripting

Error Check

Hi, I am wirting a script to check the informatica services are running. I am executing a CONFIG FILE before starting the check.. This config file will be having all the ENV Variables..that will be used in the script. I wanted to first check if the Config file has be executed. If its... (4 Replies)
Discussion started by: ch33ry
4 Replies

8. Programming

autostart script for stopped services

I need script that to start the stopped service when its stopped. This script always controls status of service. For example nagios service stopped script have to start nagios service. And It can send an email for notification when stopped. (6 Replies)
Discussion started by: getrue
6 Replies

9. Shell Programming and Scripting

Automate Job monitoring

Hi, I have a project which i need to automate some manual work. We have a 100 jobs in Linux and Unix environment. We do job monitoring daily. that is taking more that 2 to 3 hrs for us because we use autorep -j <jobname> command for each and every job. That takes more time for us to do. We have... (16 Replies)
Discussion started by: cg_saran
16 Replies

10. Solaris

PostgreSQL - Adding to SVCS list.

I'm having some troubles setting an instance of postgreSQL to automatically start upon system boot. I have two servers running this app, one is automatically starting the service, the other is not. I'm attempting to use the "svcadmin" command, however, apparently when I run a "svcs -a" search, the... (6 Replies)
Discussion started by: Nvizn
6 Replies

11. Shell Programming and Scripting

Add line in exact place

I have one big XML file which contains information about 100 jobs,"JOB JOBISN=" indicates that is a job so where ever tag starts with "JOB JOBISN=" then i need to add below highlighted line between "<INCOND NAME" and "<OUTCOND NAME" for all jobs.like this i want to add below highlighted line for... (7 Replies)
Discussion started by: katakamvivek
7 Replies

12. Shell Programming and Scripting

Grep -c text processing of a log file

I have a log file with below format. Log File: 1 started job on date & time JOB-A 2 started job on date & time JOB-B 3 completed job on data & time JOB-A 4 started job on date & time JOB-C 5 started job on date & time JOB-D 6 completed job on data & time JOB-B 7 started job on date &... (8 Replies)
Discussion started by: ctrld
8 Replies

13. Solaris

Error when running starting server service

Hi I have installed using tar a program called rabbitmq, and when I try to start it according to documentation, I get the following error: /usr/local/sbin/rabbitmq_server-3.6.14/sbin# ./rabbitmq-server ./rabbitmq-server: .: local: not found ... (7 Replies)
Discussion started by: fretagi
7 Replies

14. War Stories

Wrong Array...

Back in my early days, just starting at my first job where I was doing 100% UNIX... We had a mixture of Solaris, AIX, and HPUX systems. Our most critical systems (Logistics) was running on a bunch of large HP 9000 servers. I was tasked with decommisoning one of the servers. It was one... (5 Replies)
Discussion started by: xenix
5 Replies

15. UNIX for Beginners Questions & Answers

UNIX Environment Setup - (Just starting!)

Morning All So, I am starting looking into the world of UNIX for a new job (luckily not my primary function!) and I am looking to get stared. Like anything I seem to learn best by trying things out first in an environment but I have a key question: Currently I use Oracle VirtualBox, can... (8 Replies)
Discussion started by: GophusMeau
8 Replies