-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rc: add a prefix number to each script to enforce ordering
Add flux module remove sched-simple for fluxion resource rc1 script. fluxion resource requires the resource.acquire RPC which conflicts with sched-simple's use of it.
- Loading branch information
Showing
5 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
etc/sched-fluxion-qmanager-stop → etc/01-sched-fluxion-qmanager-stop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/bash -e | ||
|
||
if [ -z ${FLUXION_QMANAGER_RC_NOOP} ]; then | ||
flux module remove sched-fluxion-qmanager | ||
flux module remove -f sched-fluxion-qmanager | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
etc/sched-fluxion-resource-stop → etc/02-sched-fluxion-resource-stop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/bash -e | ||
|
||
if [ -z ${FLUXION_RESOURCE_RC_NOOP} ]; then | ||
flux module remove sched-fluxion-resource | ||
flux module remove -f sched-fluxion-resource | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
dist_fluxrc1_SCRIPTS = \ | ||
sched-fluxion-resource-start \ | ||
sched-fluxion-qmanager-start | ||
01-sched-fluxion-resource-start \ | ||
02-sched-fluxion-qmanager-start | ||
dist_fluxrc3_SCRIPTS = \ | ||
sched-fluxion-resource-stop \ | ||
sched-fluxion-qmanager-stop | ||
02-sched-fluxion-resource-stop \ | ||
01-sched-fluxion-qmanager-stop | ||
EXTRA_DIST = sched-fluxion-qmanager.toml | ||
|