You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-24 14:20:59 +03:00
MCOL-3914 Updates to kill signals
This commit is contained in:
@@ -8,7 +8,7 @@ Type=forking
|
||||
Environment="SKIP_OAM_INIT=1"
|
||||
ExecStart=@ENGINE_BINDIR@/controllernode
|
||||
Restart=on-failure
|
||||
ExecStop=/bin/kill -9 $MAINPID
|
||||
ExecStop=/usr/bin/env bash -c "/bin/kill -15 $MAINPID && sleep 2 && /bin/kill -9 $MAINPID"
|
||||
|
||||
[Install]
|
||||
WantedBy=mariadb-columnstore.service
|
||||
|
||||
@@ -8,7 +8,7 @@ Type=simple
|
||||
Environment="SKIP_OAM_INIT=1"
|
||||
ExecStart=@ENGINE_BINDIR@/DDLProc
|
||||
Restart=on-failure
|
||||
ExecStop=/usr/bin/env bash -c "/bin/kill -9 $(pidof DDLProc)"
|
||||
ExecStop=/usr/bin/env bash -c "/bin/kill -15 $(pidof DDLProc) && sleep 2 && /bin/kill -9 $(pidof DDLProc)"
|
||||
|
||||
[Install]
|
||||
WantedBy=mariadb-columnstore.service
|
||||
|
||||
@@ -8,7 +8,7 @@ Type=simple
|
||||
Environment="SKIP_OAM_INIT=1"
|
||||
ExecStart=@ENGINE_BINDIR@/DMLProc
|
||||
Restart=on-failure
|
||||
ExecStop=/usr/bin/env bash -c "/bin/kill -9 $(pidof DMLProc)"
|
||||
ExecStop=/usr/bin/env bash -c "/bin/kill -15 $(pidof DMLProc) && sleep 2 && /bin/kill -9 $(pidof DMLProc)"
|
||||
|
||||
[Install]
|
||||
WantedBy=mariadb-columnstore.service
|
||||
|
||||
@@ -8,7 +8,7 @@ Type=simple
|
||||
Environment="SKIP_OAM_INIT=1"
|
||||
ExecStart=@ENGINE_BINDIR@/ExeMgr
|
||||
Restart=on-failure
|
||||
ExecStop=/usr/bin/env bash -c "/bin/kill -9 $(pidof ExeMgr)"
|
||||
ExecStop=/usr/bin/env bash -c "/bin/kill -15 $(pidof ExeMgr) && sleep 2 && /bin/kill -9 $(pidof ExeMgr)"
|
||||
|
||||
[Install]
|
||||
WantedBy=mariadb-columnstore.service
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
[Unit]
|
||||
Description=mcs-primproc
|
||||
PartOf=mcs-workernode.service
|
||||
After=mcs-controllernode.service
|
||||
PartOf=mcs-exemgr.service
|
||||
After=mcs-exemgr.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment="SKIP_OAM_INIT=1"
|
||||
ExecStart=@ENGINE_BINDIR@/PrimProc
|
||||
Restart=on-failure
|
||||
ExecStop=/usr/bin/env bash -c "/bin/kill -9 $(pidof PrimProc)"
|
||||
ExecStop=/usr/bin/env bash -c "/bin/kill -15 $(pidof PrimProc) && sleep 2 && /bin/kill -9 $(pidof PrimProc)"
|
||||
|
||||
[Install]
|
||||
WantedBy=mariadb-columnstore.service
|
||||
|
||||
@@ -8,7 +8,8 @@ Type=forking
|
||||
Environment="SKIP_OAM_INIT=1"
|
||||
ExecStart=@ENGINE_BINDIR@/workernode DBRM_Worker1
|
||||
Restart=on-failure
|
||||
ExecStop=-@ENGINE_BINDIR@/save_brm ; /usr/bin/env bash -c "/bin/kill -9 $MAINPID"
|
||||
ExecStop=-@ENGINE_BINDIR@/save_brm
|
||||
ExecStop=/usr/bin/env bash -c "/bin/kill -15 $MAINPID && sleep 2 && /bin/kill -9 $MAINPID"
|
||||
ExecStopPost=/usr/bin/env bash -c "clearShm > /dev/null 2>&1"
|
||||
|
||||
[Install]
|
||||
|
||||
@@ -8,7 +8,7 @@ Type=simple
|
||||
Environment="SKIP_OAM_INIT=1"
|
||||
ExecStart=@ENGINE_BINDIR@/WriteEngineServer
|
||||
Restart=on-failure
|
||||
ExecStop=/usr/bin/env bash -c "/bin/kill -9 $(pidof WriteEngineServer)"
|
||||
ExecStop=/usr/bin/env bash -c "/bin/kill -15 $(pidof WriteEngineServer) && sleep 2 && /bin/kill -9 $(pidof WriteEngineServer)"
|
||||
|
||||
[Install]
|
||||
WantedBy=mariadb-columnstore.service
|
||||
|
||||
Reference in New Issue
Block a user