Skip to content

Commit c75a095

Browse files
Support older systemd versions
1 parent 48e14ed commit c75a095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oam/install_scripts/mcs-workernode.service.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ LimitCORE=@CORE_DUMPS@
1313

1414
Environment="@WORKERNODE_ALLOC_CONFIG@"
1515
ExecStart=@ENGINE_BINDIR@/workernode DBRM_Worker%i
16-
ExecStopPre=@ENGINE_BINDIR@/mcs-prestop-workernode.sh
16+
ExecStop=/usr/bin/env bash -c "@ENGINE_BINDIR@/mcs-prestop-workernode.sh; /bin/kill -TERM $MAINPID"
1717
ExecStopPost=@ENGINE_BINDIR@/mcs-savebrm.py
1818
ExecStopPost=/usr/bin/env bash -c "clearShm > /dev/null 2>&1"
1919

0 commit comments

Comments
 (0)