diff options
Diffstat (limited to 'aops-mcp.spec')
| -rw-r--r-- | aops-mcp.spec | 12 | 
1 files changed, 0 insertions, 12 deletions
| 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 | 
