File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -114,4 +114,4 @@ ExecStart=/usr/bin/op-rbuilder node \
114114
115115ExecStop=+/usr/bin/sh -c "kill -1 $( pgrep node-health ) | true"
116116ExecStop=+/usr/bin/sleep 15
117- ExecStop=+/usr/bin/sh -c "PID=$( pgrep op-rbuilder ); if [ \" 0${PID}\" -gt 0 ]; then kill -2 ${PID}; while kill -0 ${PID} 2>/dev/null; do sleep 1; done; fi"
117+ ExecStop=+/usr/bin/sh -c "PID=$( pgrep op-rbuilder ); if [ 0${PID} -gt 0 ]; then kill -2 ${PID}; while kill -0 ${PID} 2>/dev/null; do sleep 1; done; fi"
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ template {
2020 systemctl enable op-rbuilder
2121
2222 # patterns longer than 15 chars result in 0 matches
23- PID=$( pgrep node-health ); if [ \" 0${ PID } \" -gt 0 ]; then kill -SIGHUP ${ PID } | true; fi
23+ PID=$( pgrep node-health ); if [ 0${ PID } -gt 0 ]; then kill -1 ${ PID } | true; fi
2424 sleep 5
2525
26- PID=$( pgrep rproxy ); if [ \" 0${ PID } \" -gt 0 ]; then kill -SIGHUP ${ PID } | true; fi
26+ PID=$( pgrep rproxy ); if [ 0${ PID } -gt 0 ]; then kill -1 ${ PID } | true; fi
2727
2828 systemctl restart op-rbuilder
2929 systemctl restart node-healthchecker
You can’t perform that action at this time.
0 commit comments