sysctmctl拉起后,一会进程就自行关闭。添加RemainAfterExit=yes保持进程状态

This commit is contained in:
zhang_xubo 2022-01-27 14:50:19 +08:00
parent 63a664dd88
commit e58ec68dcb
2 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,7 @@
Name: opengauss
Version: 2.1.0
Release: 3
Release: 4
Summary: openGauss is an open source relational database management system
License: MulanPSL-2.0 and MIT and BSD and zlib and TCL and Apache-2.0 and BSL-1.0
URL: https://gitee.com/opengauss/openGauss-server
@ -288,6 +288,9 @@ fi
%changelog
* Thur Jan 27 2022 zhangxubo <zhangxubo1@huawei.com> - 2.1.0-4
- Fix bugs: #I4SDWX
* Sat Jan 22 2022 zhangxubo <zhangxubo1@huawei.com> - 2.1.0-3
- Fix bugs: #I4RVNX

View File

@ -6,6 +6,7 @@ After=local-fs.target
Type=idle
ExecStart=/usr/local/opengauss/script/autostart.sh
Delegate=yes
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target