From a6fce75895e6b9c79e411c87c830e1a21aa474ae Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 16 Oct 2025 06:27:18 +0000 Subject: automatic import of aops-mcp --- aops-mcp.spec | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'aops-mcp.spec') diff --git a/aops-mcp.spec b/aops-mcp.spec index 1db7e13..58922ad 100644 --- a/aops-mcp.spec +++ b/aops-mcp.spec @@ -82,23 +82,11 @@ mkdir -p %{buildroot}/var/run/%{name} # getent group aops >/dev/null 2>&1 || groupadd -r aops # getent passwd aops >/dev/null 2>&1 || useradd -r -g aops -s /sbin/nologin -d /opt/%{name} aops -%post -# 安装后脚本 -%systemd_post aops-mcp.service - # 设置目录权限(如果需要特定用户) # chown -R aops:aops /opt/%{name} # chown -R aops:aops /var/log/%{name} # chown -R aops:aops /var/run/%{name} -%preun -# 卸载前脚本 -%systemd_preun aops-mcp.service - -%postun -# 卸载后脚本 -%systemd_postun_with_restart aops-mcp.service - %files %defattr(-,root,root,-) %doc README.md LICENSE -- cgit v1.2.3