Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
374cccce
Commit
374cccce
authored
Aug 10, 2006
by
Robert Ricci
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove 'kill', we're only using 'killall' for the magent
parent
eb377588
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
pelab/magent/auto-magent.sh
pelab/magent/auto-magent.sh
+3
-2
No files found.
pelab/magent/auto-magent.sh
View file @
374cccce
...
...
@@ -9,9 +9,10 @@ ARGS=$*
#
echo
$SH
${
MAGENT_DIR
}
/run-magent.sh
$ARGS
$SH
${
MAGENT_DIR
}
/run-magent.sh
$ARGS
MAGENTPID
=
$!
# Kill the agent if we get killed - TODO: harsher kill?
trap
"
$AS_ROOT
kill
$MAGENTPID
;
$AS_ROOT
killall
$MAGENT
"
EXIT
# Because the magent backgrounds itself, it's harder to figure out
# what its pid is, just just do a killall
trap
"
$AS_ROOT
killall
$MAGENT
"
EXIT
#
# Give it time to come up
...
...
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