Commit 1d129f1
etc/rc1: do not cancel jobs under system instance
Problem: By default in etc/rc1, a script is setup to cancel all
jobs when the flux broker is brought down on rank 0. This should
not be done when running the system instance.
Solution: Check if we are running as the system instance by checking
the configuration of systemd.enable via `flux config get`. If we
are, do not enable job cancelation.1 parent 853c7e3 commit 1d129f1
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
97 | 100 | | |
| 101 | + | |
98 | 102 | | |
0 commit comments