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
Chris Hines
ansible_cluster_in_a_box
Commits
d4e40837
Commit
d4e40837
authored
Dec 02, 2015
by
Simon Michnowicz
Browse files
added specifi file deletion for strudel
parent
2de17d14
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/slurm-common/templates/slurm.epilog.j2
View file @
d4e40837
#!/bin/sh
find /tmp
-user
${
SLURM_JOB_USER
}
| xargs
rm
-rf
# specific files to be deleted to clean up after a Strudel session
find /tmp
-user
${
SLURM_JOB_USER
}
-name
"pulse*"
| xargs
rm
-rf
find /tmp
-user
${
SLURM_JOB_USER
}
-name
".esd-*"
| xargs
rm
-rf
find /tmp
-user
${
SLURM_JOB_USER
}
-name
".X*-lock"
| xargs
rm
-rf
find /tmp/.X11-unix
-user
${
SLURM_JOB_USER
}
-name
"X*"
| xargs
rm
-rf
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