summaryrefslogtreecommitdiff
path: root/osmind-ai.spec
diff options
context:
space:
mode:
Diffstat (limited to 'osmind-ai.spec')
-rw-r--r--osmind-ai.spec12
1 files changed, 0 insertions, 12 deletions
diff --git a/osmind-ai.spec b/osmind-ai.spec
index c83d570..91ff33d 100644
--- a/osmind-ai.spec
+++ b/osmind-ai.spec
@@ -39,18 +39,6 @@ install -m 755 osmind_agent %{buildroot}/opt/osmind_ai/
# 复制 systemd 服务文件
install -m 644 osmind-ai.service %{buildroot}%{_unitdir}/
-%post
-# systemd 配置
-%systemd_post osmind-ai.service
-
-%preun
-# 卸载前停止服务
-%systemd_preun osmind-ai.service
-
-%postun
-# 清理配置
-%systemd_postun_with_restart osmind-ai.service
-
%files
%dir /opt/osmind_ai
/opt/osmind_ai/osmind_agent