diff options
| author | CoprDistGit <infra@openeuler.org> | 2025-10-16 06:27:18 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2025-10-16 06:27:18 +0000 |
| commit | a6fce75895e6b9c79e411c87c830e1a21aa474ae (patch) | |
| tree | 0b8dfa42651e2429bf11d584ecde8fec8e6bacb6 | |
| parent | 3a3b161b2f28348198e2e25f3e73282f22de779c (diff) | |
automatic import of aops-mcp
| -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 |
