Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AIG-public
Cobalt
Commits
b84316af
Commit
b84316af
authored
Nov 16, 2016
by
Paul Rich
Browse files
tagging output filename with host
parent
b52ca92c
Changes
1
Hide whitespace changes
Inline
Side-by-side
misc/cobalt.init.cray
View file @
b84316af
...
...
@@ -49,14 +49,8 @@ start_component () {
then
(
date
=
`
/bin/date
`
if
[
"
$component
"
==
"alps_script_forker"
]
then
echo
"---
$date
: START
${
component
}
---"
>>
/var/log/cobalt/
${
component
}
_
${
HOSTNAME
}
.out
nohup
"
${
DAEMONDIR
}
/
${
component
}
.py"
$component_args
--config-files
"
${
CONFIGFILE
}
"
>>
/var/log/cobalt/
${
component
}
_
${
HOSTNAME
}
.out 2>&1 &
else
echo
"---
$date
: START
${
component
}
---"
>>
/var/log/cobalt/
${
component
}
.out
nohup
"
${
DAEMONDIR
}
/
${
component
}
.py"
$component_args
--config-files
"
${
CONFIGFILE
}
"
>>
/var/log/cobalt/
${
component
}
.out 2>&1 &
fi
echo
"---
$date
: START
${
component
}
---"
>>
/var/log/cobalt/
${
component
}
_
${
HOSTNAME
}
.out
nohup
"
${
DAEMONDIR
}
/
${
component
}
.py"
$component_args
--config-files
"
${
CONFIGFILE
}
"
>>
/var/log/cobalt/
${
component
}
_
${
HOSTNAME
}
.out 2>&1 &
)
echo
"done"
return
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment