blob: 625ccfed56fc008cda49007107cfcd39bdf1210b [file] [log] [blame]
Jackie Huange0634c62022-05-05 19:49:22 +08001diff --git a/pmon/pmonHdlr.cpp b/pmon/pmonHdlr.cpp
2index 7b5977d..c1d01b5 100644
3--- a/pmon/pmonHdlr.cpp
4+++ b/pmon/pmonHdlr.cpp
5@@ -1245,7 +1245,7 @@ int respawn_process ( process_config_type * ptr )
6
7 ilog ("Service:%s\n", ptr->service ? ptr->service : "unknown");
8
9- #define SYSTEMCTL_CMD "/usr/bin/systemctl"
10+ #define SYSTEMCTL_CMD "/bin/systemctl"
11 #define RESTART_CMD "restart"
12 #define START_CMD "start"
13 if ( get_ctrl_ptr()->recovery_method == PMOND_RECOVERY_METHOD__SYSTEMD )